diff --git a/apps/website/pages/components/select/code.tsx b/apps/website/pages/components/select/code.tsx new file mode 100644 index 0000000000..2e06ea6312 --- /dev/null +++ b/apps/website/pages/components/select/code.tsx @@ -0,0 +1,17 @@ +import Head from "next/head"; +import type { ReactElement } from "react"; +import SelectPageLayout from "screens/components/select/SelectPageLayout"; +import SelectCodePage from "screens/components/select/code/SelectCodePage"; + +const Code = () => ( + <> +
+label is provided.
+ error will not be defined.
+ error will not be defined.
+ onBlur and{" "}
+ onChange functions if an option wasn't selected.
+ Option instances.
+ onBlur and{" "}
- onChange functions if an option wasn't selected.
- error will not be defined.
- error will not be defined.
- label is provided.
+ Value of the select. If undefined, the component will be uncontrolled and the value will be managed
+ internally by the component.
labelFontColor
- color-black
- helperTextFontColor
- color-black
- errorMessageColor
- color-red-700
- valueFontColor
- color-black
- placeholderFontColor
- color-grey-800-a
- disabledColor
- color-grey-500
- listDialogBackgroundColor
- color-white
- listDialogBorderColor
- color-grey-400
- listOptionFontColor
- color-black
- listOptionIconColor
- color-black
- listOptionDividerColor
- color-grey-200
- unselectedHoverListOptionBackgroundColor
- color-grey-100
- unselectedActiveListOptionBackgroundColor
- color-grey-200
- selectedListOptionBackgroundColor
- color-blue-100
- selectedHoverListOptionBackgroundColor
- color-blue-200
- selectedActiveListOptionBackgroundColor
- color-blue-300
- selectedListOptionIconColor
- color-blue-900
- focusListOptionBorderColor
- color-blue-600
- systemMessageFontColor
- color-grey-700
- enabledInputBorderColor
- color-black
- hoverInputBorderColor
- color-purple-500
- focusInputBorderColor
- color-blue-600
- errorInputBorderColor
- color-red-700
- hoverInputErrorBorderColor
- color-red-600
- disabledInputBorderColor
- color-grey-500
- disabledInputBackgroundColor
- color-grey-100
- errorIconColor
- color-red-700
- collapseIndicatorColor
- color-black
- selectionIndicatorFontColor
- color-black
- selectionIndicatorBorderColor
- color-grey-400
- selectionIndicatorBackgroundColor
- color-grey-50
- enabledSelectionIndicatorActionBackgroundColor
- color-transparent
- hoverSelectionIndicatorActionBackgroundColor
- color-grey-100
- activeSelectionIndicatorActionBackgroundColor
- color-grey-300
- enabledSelectionIndicatorActionIconColor
- color-black
- hoverSelectionIndicatorActionIconColor
- color-black
- activeSelectionIndicatorActionIconColor
- color-black
- actionBackgroundColor
- color-transparent
- hoverActionBackgroundColor
- color-grey-100
- activeActionBackgroundColor
- color-grey-300
- actionIconColor
- color-black
- hoverActionIconColor
- color-black
- activeActionIconColor
- color-black
- fontFamily
- font-family-sans
- labelFontSize
- font-scale-02
- labelFontWeight
- font-weight-semibold
- labelFontStyle
- font-style-normal
- labelLineHeight
- font-leading-loose-01
- optionalLabelFontWeight
- font-weight-regular
- valueFontSize
- font-scale-03
- valueFontWeight
- font-weight-regular
- valueFontStyle
- font-style-normal
- valueLineHeight
- font-leading-normal
- helperTextFontSize
- font-scale-01
- helperTextFontWeight
- font-weight-regular
- helperTextFontStyle
- font-style-normal
- helperTextLineHeight
- font-leading-normal
- listOptionFontSize
- font-scale-02
- listOptionFontWeight
- font-weight-regular
- listOptionFontStyle
- font-style-normal
- listGroupLabelFontWeight
- font-weight-semibold
- border
- border-width-1
- border
- border-style-solid
- border
- border-width-1
- border
- border-style-solid
- box-shadow
- box-shadow
- box-shadow
- shadow-default
- border-radius
- border-radius-medium
- border-radius
- border-radius-small
- padding-left
- spacing-8
- padding-right
- spacing-8
- margin-top
- spacing-4
- margin-bottom
- spacing-4
- padding-top
- spacing-4
- padding-bottom
- spacing-4
- small
- medium
- large
- fillParent
- xxsmall
- xsmall
- small
- medium
- large
- xlarge
- xxlarge
- top,{" "}
- bottom, left and right.
-