@workday/canvas-kit-preview-react 8.0.0-alpha.253-next.22 → 8.0.0-alpha.428-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/color-picker/lib/ColorPicker.tsx +1 -1
- package/dist/commonjs/color-picker/lib/ColorPicker.js +25 -48
- package/dist/commonjs/color-picker/lib/parts/ColorReset.js +32 -23
- package/dist/commonjs/color-picker/lib/parts/SwatchBook.js +26 -39
- package/dist/commonjs/form-field/lib/FormField.d.ts +4 -10
- package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/FormField.js +10 -33
- package/dist/commonjs/form-field/lib/FormFieldHint.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldHint.js +8 -31
- package/dist/commonjs/form-field/lib/FormFieldInput.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldInput.js +6 -17
- package/dist/commonjs/form-field/lib/FormFieldLabel.d.ts +2 -8
- package/dist/commonjs/form-field/lib/FormFieldLabel.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +8 -31
- package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.d.ts +3 -5
- package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.js +4 -5
- package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.d.ts +3 -5
- package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.js +5 -6
- package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts +3 -5
- package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.js +4 -5
- package/dist/commonjs/form-field/lib/hooks/useFormFieldModel.d.ts +2 -12
- package/dist/commonjs/form-field/lib/hooks/useFormFieldModel.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldModel.js +9 -19
- package/dist/commonjs/form-field/lib/hooks/useFormFieldOrientation.d.ts +4 -4
- package/dist/commonjs/form-field/lib/hooks/useFormFieldOrientation.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldOrientation.js +5 -5
- package/dist/commonjs/menu/lib/Menu.d.ts +16 -9
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.js +108 -132
- package/dist/commonjs/menu/lib/MenuItem.d.ts +17 -7
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +111 -114
- package/dist/commonjs/pill/lib/Pill.d.ts +103 -5
- package/dist/commonjs/pill/lib/Pill.d.ts.map +1 -1
- package/dist/commonjs/pill/lib/Pill.js +158 -64
- package/dist/commonjs/pill/lib/PillAvatar.js +6 -17
- package/dist/commonjs/pill/lib/PillCount.js +7 -30
- package/dist/commonjs/pill/lib/PillIcon.js +8 -31
- package/dist/commonjs/pill/lib/PillIconButton.js +13 -36
- package/dist/commonjs/pill/lib/PillLabel.js +10 -33
- package/dist/commonjs/pill/lib/usePillModel.js +8 -16
- package/dist/commonjs/segmented-control/index.d.ts +2 -0
- package/dist/commonjs/segmented-control/index.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/index.js +4 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +267 -82
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControl.js +42 -7
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts +9 -5
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.js +24 -49
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts +71 -2
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.js +15 -40
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +28 -9
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.js +8 -10
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +233 -83
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.js +33 -32
- package/dist/commonjs/select/lib/Select.js +147 -187
- package/dist/commonjs/select/lib/SelectBase.js +106 -101
- package/dist/commonjs/select/lib/SelectMenu.js +53 -84
- package/dist/commonjs/select/lib/SelectOption.js +33 -47
- package/dist/commonjs/select/lib/scrolling.js +6 -7
- package/dist/commonjs/select/lib/utils.js +4 -4
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts +13 -26
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/commonjs/side-panel/lib/SidePanel.js +95 -133
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.d.ts +17 -0
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.d.ts.map +1 -0
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.js +65 -0
- package/dist/commonjs/side-panel/lib/hooks.d.ts +20 -0
- package/dist/commonjs/side-panel/lib/hooks.d.ts.map +1 -1
- package/dist/commonjs/side-panel/lib/hooks.js +40 -21
- package/dist/commonjs/status-indicator/index.d.ts +2 -0
- package/dist/commonjs/status-indicator/index.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/index.js +4 -0
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts +32 -8
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +37 -35
- package/dist/commonjs/status-indicator/lib/StatusIndicatorIcon.d.ts +10 -0
- package/dist/commonjs/status-indicator/lib/StatusIndicatorIcon.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicatorIcon.js +11 -23
- package/dist/commonjs/status-indicator/lib/StatusIndicatorLabel.js +5 -28
- package/dist/commonjs/status-indicator/lib/hooks/useStatusIndicatorModel.js +6 -15
- package/dist/commonjs/table/index.d.ts +2 -0
- package/dist/commonjs/table/index.d.ts.map +1 -0
- package/dist/commonjs/{text-area/lib/hooks → table}/index.js +1 -1
- package/dist/commonjs/table/lib/Table.d.ts +207 -0
- package/dist/commonjs/table/lib/Table.d.ts.map +1 -0
- package/dist/commonjs/table/lib/Table.js +229 -0
- package/dist/commonjs/table/lib/TableBody.d.ts +2 -0
- package/dist/commonjs/table/lib/TableBody.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableBody.js +35 -0
- package/dist/commonjs/table/lib/TableCaption.d.ts +2 -0
- package/dist/commonjs/table/lib/TableCaption.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableCaption.js +16 -0
- package/dist/commonjs/table/lib/TableCell.d.ts +2 -0
- package/dist/commonjs/table/lib/TableCell.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableCell.js +16 -0
- package/dist/commonjs/table/lib/TableFooter.d.ts +2 -0
- package/dist/commonjs/table/lib/TableFooter.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableFooter.js +15 -0
- package/dist/commonjs/table/lib/TableHead.d.ts +2 -0
- package/dist/commonjs/table/lib/TableHead.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableHead.js +23 -0
- package/dist/commonjs/table/lib/TableHeader.d.ts +2 -0
- package/dist/commonjs/table/lib/TableHeader.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableHeader.js +16 -0
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -0
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -0
- package/dist/commonjs/table/lib/TableRow.js +19 -0
- package/dist/commonjs/text-area/lib/TextArea.d.ts +2 -2
- package/dist/commonjs/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/commonjs/text-area/lib/TextArea.js +9 -33
- package/dist/commonjs/text-area/lib/TextAreaField.d.ts +1 -1
- package/dist/commonjs/text-area/lib/TextAreaField.d.ts.map +1 -1
- package/dist/commonjs/text-area/lib/TextAreaField.js +12 -36
- package/dist/commonjs/text-input/lib/TextInput.d.ts +4 -4
- package/dist/commonjs/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/TextInput.js +9 -33
- package/dist/commonjs/text-input/lib/TextInputField.d.ts +1 -1
- package/dist/commonjs/text-input/lib/TextInputField.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/TextInputField.js +13 -25
- package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts +3 -5
- package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/hooks/useTextInputField.js +3 -3
- package/dist/commonjs/text-input/lib/hooks/useTextInputModel.d.ts +1 -0
- package/dist/commonjs/text-input/lib/hooks/useTextInputModel.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/hooks/useTextInputModel.js +2 -1
- package/dist/es6/color-picker/lib/ColorPicker.js +16 -39
- package/dist/es6/color-picker/lib/parts/ColorReset.js +27 -18
- package/dist/es6/color-picker/lib/parts/SwatchBook.js +21 -34
- package/dist/es6/form-field/lib/FormField.d.ts +4 -10
- package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/es6/form-field/lib/FormField.js +5 -28
- package/dist/es6/form-field/lib/FormFieldHint.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldHint.js +4 -27
- package/dist/es6/form-field/lib/FormFieldInput.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldInput.js +3 -14
- package/dist/es6/form-field/lib/FormFieldLabel.d.ts +2 -8
- package/dist/es6/form-field/lib/FormFieldLabel.d.ts.map +1 -1
- package/dist/es6/form-field/lib/FormFieldLabel.js +5 -28
- package/dist/es6/form-field/lib/hooks/useFormFieldHint.d.ts +3 -5
- package/dist/es6/form-field/lib/hooks/useFormFieldHint.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldHint.js +2 -3
- package/dist/es6/form-field/lib/hooks/useFormFieldInput.d.ts +3 -5
- package/dist/es6/form-field/lib/hooks/useFormFieldInput.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldInput.js +3 -4
- package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts +3 -5
- package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldLabel.js +2 -3
- package/dist/es6/form-field/lib/hooks/useFormFieldModel.d.ts +2 -12
- package/dist/es6/form-field/lib/hooks/useFormFieldModel.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldModel.js +9 -19
- package/dist/es6/form-field/lib/hooks/useFormFieldOrientation.d.ts +4 -4
- package/dist/es6/form-field/lib/hooks/useFormFieldOrientation.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldOrientation.js +4 -4
- package/dist/es6/menu/lib/Menu.d.ts +16 -9
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.js +103 -128
- package/dist/es6/menu/lib/MenuItem.d.ts +17 -7
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.js +107 -111
- package/dist/es6/pill/lib/Pill.d.ts +103 -5
- package/dist/es6/pill/lib/Pill.d.ts.map +1 -1
- package/dist/es6/pill/lib/Pill.js +149 -55
- package/dist/es6/pill/lib/PillAvatar.js +3 -14
- package/dist/es6/pill/lib/PillCount.js +4 -27
- package/dist/es6/pill/lib/PillIcon.js +3 -26
- package/dist/es6/pill/lib/PillIconButton.js +7 -30
- package/dist/es6/pill/lib/PillLabel.js +5 -28
- package/dist/es6/pill/lib/usePillModel.js +8 -16
- package/dist/es6/segmented-control/index.d.ts +2 -0
- package/dist/es6/segmented-control/index.d.ts.map +1 -1
- package/dist/es6/segmented-control/index.js +2 -0
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +267 -82
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.js +38 -3
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts +9 -5
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlItem.js +17 -42
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts +71 -2
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlList.js +9 -34
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +28 -9
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.js +5 -7
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +233 -83
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.js +31 -30
- package/dist/es6/select/lib/Select.js +144 -184
- package/dist/es6/select/lib/SelectBase.js +99 -94
- package/dist/es6/select/lib/SelectMenu.js +49 -80
- package/dist/es6/select/lib/SelectOption.js +30 -44
- package/dist/es6/select/lib/scrolling.js +6 -7
- package/dist/es6/select/lib/utils.js +4 -4
- package/dist/es6/side-panel/lib/SidePanel.d.ts +13 -26
- package/dist/es6/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/SidePanel.js +93 -130
- package/dist/es6/side-panel/lib/SidePanelToggleButton.d.ts +17 -0
- package/dist/es6/side-panel/lib/SidePanelToggleButton.d.ts.map +1 -0
- package/dist/es6/side-panel/lib/SidePanelToggleButton.js +43 -0
- package/dist/es6/side-panel/lib/hooks.d.ts +20 -0
- package/dist/es6/side-panel/lib/hooks.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/hooks.js +37 -18
- package/dist/es6/status-indicator/index.d.ts +2 -0
- package/dist/es6/status-indicator/index.d.ts.map +1 -1
- package/dist/es6/status-indicator/index.js +2 -0
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts +32 -8
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.js +33 -31
- package/dist/es6/status-indicator/lib/StatusIndicatorIcon.d.ts +10 -0
- package/dist/es6/status-indicator/lib/StatusIndicatorIcon.d.ts.map +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicatorIcon.js +6 -18
- package/dist/es6/status-indicator/lib/StatusIndicatorLabel.js +3 -26
- package/dist/es6/status-indicator/lib/hooks/useStatusIndicatorModel.js +6 -15
- package/dist/es6/table/index.d.ts +2 -0
- package/dist/es6/table/index.d.ts.map +1 -0
- package/dist/es6/table/index.js +1 -0
- package/dist/es6/table/lib/Table.d.ts +207 -0
- package/dist/es6/table/lib/Table.d.ts.map +1 -0
- package/dist/es6/table/lib/Table.js +223 -0
- package/dist/es6/table/lib/TableBody.d.ts +2 -0
- package/dist/es6/table/lib/TableBody.d.ts.map +1 -0
- package/dist/es6/table/lib/TableBody.js +29 -0
- package/dist/es6/table/lib/TableCaption.d.ts +2 -0
- package/dist/es6/table/lib/TableCaption.d.ts.map +1 -0
- package/dist/es6/table/lib/TableCaption.js +10 -0
- package/dist/es6/table/lib/TableCell.d.ts +2 -0
- package/dist/es6/table/lib/TableCell.d.ts.map +1 -0
- package/dist/es6/table/lib/TableCell.js +10 -0
- package/dist/es6/table/lib/TableFooter.d.ts +2 -0
- package/dist/es6/table/lib/TableFooter.d.ts.map +1 -0
- package/dist/es6/table/lib/TableFooter.js +9 -0
- package/dist/es6/table/lib/TableHead.d.ts +2 -0
- package/dist/es6/table/lib/TableHead.d.ts.map +1 -0
- package/dist/es6/table/lib/TableHead.js +17 -0
- package/dist/es6/table/lib/TableHeader.d.ts +2 -0
- package/dist/es6/table/lib/TableHeader.d.ts.map +1 -0
- package/dist/es6/table/lib/TableHeader.js +10 -0
- package/dist/es6/table/lib/TableRow.d.ts +2 -0
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -0
- package/dist/es6/table/lib/TableRow.js +13 -0
- package/dist/es6/text-area/lib/TextArea.d.ts +2 -2
- package/dist/es6/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/es6/text-area/lib/TextArea.js +7 -31
- package/dist/es6/text-area/lib/TextAreaField.d.ts +1 -1
- package/dist/es6/text-area/lib/TextAreaField.d.ts.map +1 -1
- package/dist/es6/text-area/lib/TextAreaField.js +9 -33
- package/dist/es6/text-input/lib/TextInput.d.ts +4 -4
- package/dist/es6/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/es6/text-input/lib/TextInput.js +7 -31
- package/dist/es6/text-input/lib/TextInputField.d.ts +1 -1
- package/dist/es6/text-input/lib/TextInputField.d.ts.map +1 -1
- package/dist/es6/text-input/lib/TextInputField.js +12 -24
- package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts +3 -5
- package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts.map +1 -1
- package/dist/es6/text-input/lib/hooks/useTextInputField.js +1 -1
- package/dist/es6/text-input/lib/hooks/useTextInputModel.d.ts +1 -0
- package/dist/es6/text-input/lib/hooks/useTextInputModel.d.ts.map +1 -1
- package/dist/es6/text-input/lib/hooks/useTextInputModel.js +2 -1
- package/form-field/lib/FormField.tsx +5 -10
- package/form-field/lib/FormFieldLabel.tsx +6 -11
- package/form-field/lib/hooks/useFormFieldModel.tsx +1 -3
- package/form-field/lib/hooks/useFormFieldOrientation.tsx +6 -6
- package/menu/lib/Menu.tsx +16 -9
- package/menu/lib/MenuItem.tsx +19 -8
- package/package.json +4 -5
- package/pill/lib/Pill.tsx +109 -10
- package/pill/lib/PillCount.tsx +1 -1
- package/pill/lib/PillIcon.tsx +1 -1
- package/segmented-control/index.ts +2 -0
- package/segmented-control/lib/SegmentedControl.tsx +36 -0
- package/segmented-control/lib/SegmentedControlList.tsx +1 -1
- package/segmented-control/lib/hooks/useSegmentedControlItem.tsx +1 -5
- package/side-panel/lib/SidePanel.tsx +119 -169
- package/side-panel/lib/SidePanelToggleButton.tsx +78 -0
- package/side-panel/lib/hooks.ts +20 -0
- package/status-indicator/index.ts +2 -0
- package/status-indicator/lib/StatusIndicator.tsx +32 -6
- package/status-indicator/lib/StatusIndicatorIcon.tsx +1 -1
- package/table/LICENSE +51 -0
- package/table/README.md +5 -0
- package/table/index.ts +1 -0
- package/table/lib/Table.tsx +236 -0
- package/table/lib/TableBody.tsx +35 -0
- package/table/lib/TableCaption.tsx +22 -0
- package/table/lib/TableCell.tsx +27 -0
- package/table/lib/TableFooter.tsx +14 -0
- package/table/lib/TableHead.tsx +23 -0
- package/table/lib/TableHeader.tsx +28 -0
- package/table/lib/TableRow.tsx +26 -0
- package/table/package.json +6 -0
- package/text-area/lib/TextArea.tsx +9 -6
- package/text-area/lib/TextAreaField.tsx +6 -2
- package/text-input/lib/TextInput.tsx +9 -6
- package/text-input/lib/TextInputField.tsx +9 -5
- package/text-input/lib/hooks/useTextInputModel.ts +1 -0
- package/dist/commonjs/text-area/lib/hooks/index.d.ts +0 -2
- package/dist/commonjs/text-area/lib/hooks/index.d.ts.map +0 -1
- package/dist/commonjs/text-area/lib/hooks/useTextAreaModel.d.ts +0 -28
- package/dist/commonjs/text-area/lib/hooks/useTextAreaModel.d.ts.map +0 -1
- package/dist/commonjs/text-area/lib/hooks/useTextAreaModel.js +0 -5
- package/dist/es6/text-area/lib/hooks/index.d.ts +0 -2
- package/dist/es6/text-area/lib/hooks/index.d.ts.map +0 -1
- package/dist/es6/text-area/lib/hooks/index.js +0 -1
- package/dist/es6/text-area/lib/hooks/useTextAreaModel.d.ts +0 -28
- package/dist/es6/text-area/lib/hooks/useTextAreaModel.d.ts.map +0 -1
- package/dist/es6/text-area/lib/hooks/useTextAreaModel.js +0 -2
- package/text-area/lib/hooks/index.ts +0 -1
- package/text-area/lib/hooks/useTextAreaModel.ts +0 -3
|
@@ -1,50 +1,24 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __assign = (this && this.__assign) || function () {
|
|
15
|
-
__assign = Object.assign || function(t) {
|
|
16
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
-
s = arguments[i];
|
|
18
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
19
|
-
t[p] = s[p];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
return __assign.apply(this, arguments);
|
|
24
|
-
};
|
|
25
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
26
|
-
var t = {};
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
|
-
t[p] = s[p];
|
|
29
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
32
|
-
t[p[i]] = s[p[i]];
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
};
|
|
36
1
|
import * as React from 'react';
|
|
37
2
|
import styled from '@emotion/styled';
|
|
38
3
|
import { colors, commonColors, iconColors, typeColors, space, type, } from '@workday/canvas-kit-react/tokens';
|
|
39
4
|
import { SystemIcon } from '@workday/canvas-kit-react/icon';
|
|
40
|
-
|
|
5
|
+
const Item = styled('li')({
|
|
6
|
+
...type.levels.subtext.large,
|
|
7
|
+
padding: `${space.xxs} ${space.s}`,
|
|
8
|
+
height: space.xl,
|
|
9
|
+
boxSizing: 'border-box',
|
|
10
|
+
cursor: 'pointer',
|
|
11
|
+
color: colors.blackPepper300,
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flexDirection: 'row',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
transition: 'background-color 80ms, color 80ms',
|
|
16
|
+
'&:focus': {
|
|
41
17
|
outline: 'none',
|
|
42
|
-
}
|
|
43
|
-
|
|
18
|
+
},
|
|
19
|
+
}, ({ isHeader }) => {
|
|
44
20
|
return { pointerEvents: isHeader ? 'none' : 'all' };
|
|
45
|
-
},
|
|
46
|
-
var _b;
|
|
47
|
-
var isFocused = _a.isFocused, isDisabled = _a.isDisabled;
|
|
21
|
+
}, ({ isFocused, isDisabled }) => {
|
|
48
22
|
if (!isFocused && !isDisabled) {
|
|
49
23
|
return {
|
|
50
24
|
backgroundColor: 'inherit',
|
|
@@ -65,25 +39,26 @@ var Item = styled('li')(__assign(__assign({}, type.levels.subtext.large), { padd
|
|
|
65
39
|
}
|
|
66
40
|
else {
|
|
67
41
|
// Is focused or focused and disabled
|
|
68
|
-
return
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
42
|
+
return {
|
|
43
|
+
backgroundColor: isDisabled ? colors.blueberry200 : commonColors.focusBackground,
|
|
44
|
+
color: typeColors.inverse,
|
|
45
|
+
'span .wd-icon-background ~ .wd-icon-accent, .wd-icon-background ~ .wd-icon-accent2': {
|
|
46
|
+
fill: isDisabled ? iconColors.disabled : iconColors.active,
|
|
47
|
+
},
|
|
48
|
+
'&:hover': {
|
|
49
|
+
'span .wd-icon-fill, span .wd-icon-accent, span .wd-icon-accent2': {
|
|
50
|
+
fill: iconColors.inverse,
|
|
51
|
+
},
|
|
52
|
+
'span .wd-icon-background ~ .wd-icon-accent, span .wd-icon-background ~ .wd-icon-accent2': {
|
|
72
53
|
fill: isDisabled ? iconColors.disabled : iconColors.active,
|
|
73
54
|
},
|
|
74
|
-
'
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
'span .wd-icon-background ~ .wd-icon-accent, span .wd-icon-background ~ .wd-icon-accent2': {
|
|
79
|
-
fill: isDisabled ? iconColors.disabled : iconColors.active,
|
|
80
|
-
},
|
|
81
|
-
'span .wd-icon-background': {
|
|
82
|
-
fill: iconColors.inverse,
|
|
83
|
-
},
|
|
84
|
-
}
|
|
55
|
+
'span .wd-icon-background': {
|
|
56
|
+
fill: iconColors.inverse,
|
|
57
|
+
},
|
|
85
58
|
},
|
|
86
|
-
|
|
59
|
+
[`[data-whatinput='mouse'] &,
|
|
60
|
+
[data-whatinput='touch'] &,
|
|
61
|
+
[data-whatinput='pointer'] &`]: {
|
|
87
62
|
backgroundColor: 'inherit',
|
|
88
63
|
color: colors.blackPepper300,
|
|
89
64
|
'span .wd-icon-background ~ .wd-icon-accent, span .wd-icon-background ~ .wd-icon-accent2': {
|
|
@@ -99,55 +74,67 @@ var Item = styled('li')(__assign(__assign({}, type.levels.subtext.large), { padd
|
|
|
99
74
|
fill: iconColors.standard,
|
|
100
75
|
},
|
|
101
76
|
},
|
|
102
|
-
|
|
77
|
+
};
|
|
103
78
|
}
|
|
104
79
|
});
|
|
105
|
-
|
|
80
|
+
const LabelContainer = styled('span')({
|
|
106
81
|
flex: '1 1 auto',
|
|
107
82
|
overflow: 'hidden',
|
|
108
83
|
whiteSpace: 'nowrap',
|
|
109
84
|
textOverflow: 'ellipsis',
|
|
110
85
|
});
|
|
111
|
-
|
|
86
|
+
const Divider = styled('hr')({
|
|
112
87
|
display: 'block',
|
|
113
88
|
height: 1,
|
|
114
89
|
border: 0,
|
|
115
|
-
borderTop:
|
|
116
|
-
margin: space.xxs
|
|
90
|
+
borderTop: `1px solid ${colors.soap400}`,
|
|
91
|
+
margin: `${space.xxs} 0`,
|
|
117
92
|
});
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
minWidth: iconSize + iconPadding,
|
|
93
|
+
const iconSize = 24;
|
|
94
|
+
const iconPadding = 16;
|
|
95
|
+
const StyledSystemIcon = styled(SystemIcon)({
|
|
96
|
+
minWidth: iconSize + iconPadding, // gives padding between LabelContainer, no matter the direction
|
|
122
97
|
});
|
|
123
|
-
|
|
124
|
-
display:
|
|
98
|
+
const SecondaryStyledSystemIcon = styled(SystemIcon)({
|
|
99
|
+
display: `flex`,
|
|
125
100
|
minWidth: iconSize + iconPadding,
|
|
126
|
-
justifyContent:
|
|
101
|
+
justifyContent: `flex-end`,
|
|
127
102
|
});
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
103
|
+
let iconProps = null;
|
|
104
|
+
let secondaryIconProps = null;
|
|
105
|
+
const setIconProps = (icon, isDisabled, isFocused) => {
|
|
131
106
|
if (!icon) {
|
|
132
107
|
return null;
|
|
133
108
|
}
|
|
134
|
-
|
|
109
|
+
let props = {
|
|
135
110
|
icon: icon,
|
|
136
111
|
size: iconSize,
|
|
137
112
|
};
|
|
138
113
|
if (isDisabled) {
|
|
139
|
-
props =
|
|
114
|
+
props = {
|
|
115
|
+
...props,
|
|
116
|
+
fill: iconColors.disabled,
|
|
117
|
+
fillHover: iconColors.disabled,
|
|
118
|
+
accent: iconColors.disabled,
|
|
119
|
+
accentHover: iconColors.disabled,
|
|
120
|
+
};
|
|
140
121
|
}
|
|
141
122
|
if (isFocused) {
|
|
142
|
-
props =
|
|
123
|
+
props = {
|
|
124
|
+
...props,
|
|
125
|
+
fill: iconColors.inverse,
|
|
126
|
+
fillHover: iconColors.inverse,
|
|
127
|
+
accent: iconColors.inverse,
|
|
128
|
+
accentHover: iconColors.inverse,
|
|
129
|
+
background: iconColors.inverse,
|
|
130
|
+
};
|
|
143
131
|
}
|
|
144
132
|
return props;
|
|
145
133
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
var parent = elem.parentElement;
|
|
134
|
+
const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
|
|
135
|
+
const parent = elem.parentElement;
|
|
149
136
|
if (elem && parent) {
|
|
150
|
-
|
|
137
|
+
const parentComputedStyle = window.getComputedStyle(parent, null), parentBorderTopWidth = parseInt(parentComputedStyle.getPropertyValue('border-top-width'), 10), parentBorderLeftWidth = parseInt(parentComputedStyle.getPropertyValue('border-left-width'), 10), overTop = elem.offsetTop - parent.offsetTop < parent.scrollTop, overBottom = elem.offsetTop - parent.offsetTop + elem.clientHeight - parentBorderTopWidth >
|
|
151
138
|
parent.scrollTop + parent.clientHeight, overLeft = elem.offsetLeft - parent.offsetLeft < parent.scrollLeft, overRight = elem.offsetLeft - parent.offsetLeft + elem.clientWidth - parentBorderLeftWidth >
|
|
152
139
|
parent.scrollLeft + parent.clientWidth, alignWithTop = overTop && !overBottom;
|
|
153
140
|
if ((overTop || overBottom) && centerIfNeeded) {
|
|
@@ -172,52 +159,61 @@ var scrollIntoViewIfNeeded = function (elem, centerIfNeeded) {
|
|
|
172
159
|
}
|
|
173
160
|
};
|
|
174
161
|
/**
|
|
175
|
-
*
|
|
162
|
+
* `DeprecatedMenuItem` renders an `<li>` element with the correct attributes to ensure it is
|
|
163
|
+
* accessible. If you choose to implement your own custom menu items, be sure to use semantic `<li>`
|
|
164
|
+
* elements with the following attributes:
|
|
176
165
|
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
166
|
+
* - `role="menuitem"`
|
|
167
|
+
* - `tabindex={-1}`
|
|
168
|
+
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
169
|
+
*
|
|
170
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
171
|
+
* It will be removed in v10. Please see the [upgrade
|
|
172
|
+
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
173
|
+
* more information.
|
|
174
|
+
*
|
|
175
|
+
* Undocumented props are spread to the underlying `<li>` element.
|
|
176
|
+
*
|
|
177
|
+
* @deprecated
|
|
181
178
|
*/
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
scrollIntoViewIfNeeded(_this.ref.current);
|
|
179
|
+
export class DeprecatedMenuItem extends React.Component {
|
|
180
|
+
constructor() {
|
|
181
|
+
super(...arguments);
|
|
182
|
+
this.ref = React.createRef();
|
|
183
|
+
this.componentDidUpdate = (prevProps) => {
|
|
184
|
+
if (!prevProps.isFocused && this.props.isFocused) {
|
|
185
|
+
if (this.ref.current) {
|
|
186
|
+
scrollIntoViewIfNeeded(this.ref.current);
|
|
191
187
|
}
|
|
192
188
|
}
|
|
193
189
|
};
|
|
194
|
-
|
|
195
|
-
if (
|
|
190
|
+
this.handleClick = (event) => {
|
|
191
|
+
if (this.props.isDisabled) {
|
|
196
192
|
return;
|
|
197
193
|
}
|
|
198
|
-
if (
|
|
199
|
-
|
|
194
|
+
if (this.props.onClick) {
|
|
195
|
+
this.props.onClick(event);
|
|
200
196
|
}
|
|
201
197
|
};
|
|
202
|
-
return _this;
|
|
203
198
|
}
|
|
204
|
-
|
|
205
|
-
console.warn(
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
199
|
+
componentDidMount() {
|
|
200
|
+
console.warn(`This component is being deprecated and will be removed in Canvas Kit V9.\n
|
|
201
|
+
For more information, please see the V8 upgrade guide:\n
|
|
202
|
+
https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page
|
|
203
|
+
`);
|
|
204
|
+
}
|
|
205
|
+
render() {
|
|
206
|
+
const { onClick, children, id, icon, secondaryIcon, hasDivider, isDisabled, isFocused, isHeader, role, ...elemProps } = this.props;
|
|
209
207
|
iconProps = setIconProps(icon, isDisabled, isFocused);
|
|
210
208
|
secondaryIconProps = setIconProps(secondaryIcon, isDisabled, isFocused);
|
|
211
209
|
return (React.createElement(React.Fragment, null,
|
|
212
|
-
hasDivider && React.createElement(Divider,
|
|
213
|
-
React.createElement(Item,
|
|
214
|
-
icon && iconProps && React.createElement(StyledSystemIcon,
|
|
210
|
+
hasDivider && React.createElement(Divider, { "aria-hidden": "true" }),
|
|
211
|
+
React.createElement(Item, Object.assign({ ref: this.ref, tabIndex: -1, id: id, role: isHeader ? 'presentation' : role, "aria-hidden": isHeader ? true : undefined, onClick: this.handleClick, "aria-disabled": isDisabled ? true : undefined, isDisabled: !!isDisabled, isFocused: !!isFocused, isHeader: !!isHeader }, elemProps),
|
|
212
|
+
icon && iconProps && React.createElement(StyledSystemIcon, Object.assign({}, iconProps)),
|
|
215
213
|
React.createElement(LabelContainer, null, children),
|
|
216
|
-
secondaryIcon && secondaryIconProps && (React.createElement(SecondaryStyledSystemIcon,
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
}(React.Component));
|
|
220
|
-
export { DeprecatedMenuItem };
|
|
214
|
+
secondaryIcon && secondaryIconProps && (React.createElement(SecondaryStyledSystemIcon, Object.assign({}, secondaryIconProps))))));
|
|
215
|
+
}
|
|
216
|
+
}
|
|
221
217
|
/**
|
|
222
218
|
* If we destructure props, shouldClose will be undefined because the value is only applied for the render method only.
|
|
223
219
|
* We have to use defaultProps so that the value of shouldClose is applied for every method and therefore references in the Menu component.
|
|
@@ -6,6 +6,49 @@ export interface PillProps extends BoxProps {
|
|
|
6
6
|
*/
|
|
7
7
|
variant?: 'default' | 'readOnly' | 'removable';
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* By default, a `Pill` renders an interactive element that accepts subcomponents. By "interactive"
|
|
11
|
+
* we mean that the Pill container is a focusable element (a `<button>`). All leading elements
|
|
12
|
+
* (icons or avatars) are intended to be descriptive, helping support the label. They should not
|
|
13
|
+
* receive focus.
|
|
14
|
+
*
|
|
15
|
+
* `Pill` is the container component. It also provides a React context model for its subcomponents.
|
|
16
|
+
* Based on the `variant` prop this component will render different styled `Pill`s.
|
|
17
|
+
*
|
|
18
|
+
* Example of read only:
|
|
19
|
+
*
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <Pill variant="readOnly">This is a read only</Pill>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* Example of interactive:
|
|
25
|
+
*
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <Pill onClick={() => console.log('clicked')}>
|
|
28
|
+
* <Pill.Avatar /> Regina Skeltor
|
|
29
|
+
* </Pill>
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* Example of removable:
|
|
33
|
+
*
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <Pill variant="removable">
|
|
36
|
+
* <Pill.Avatar /> Regina Skeltor
|
|
37
|
+
* <Pill.IconButton onClick={() => console.log('clicked')} />
|
|
38
|
+
* </Pill>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* If you set the `Pill` `variant` to `removable`, it will render a `<span>` element. You can then
|
|
42
|
+
* provide a `Pill.IconButton` that acts as the focus target. This creates a smaller, more
|
|
43
|
+
* intentional click target that prevents users from accidentally deleting an item.
|
|
44
|
+
*
|
|
45
|
+
* ```tsx
|
|
46
|
+
* <Pill variant="removable">
|
|
47
|
+
* Shoes
|
|
48
|
+
* <Pill.IconButton onClick={() => console.log('handle remove')} />
|
|
49
|
+
* </Pill>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
9
52
|
export declare const Pill: import("@workday/canvas-kit-react/common").ElementComponentM<"button", PillProps & Partial<{
|
|
10
53
|
maxWidth: string | number;
|
|
11
54
|
disabled: boolean;
|
|
@@ -18,7 +61,18 @@ export declare const Pill: import("@workday/canvas-kit-react/common").ElementCom
|
|
|
18
61
|
};
|
|
19
62
|
events: {};
|
|
20
63
|
}> & {
|
|
21
|
-
|
|
64
|
+
/**
|
|
65
|
+
* This component renders an avatar. It supports all props of the `Avatar` component.
|
|
66
|
+
*
|
|
67
|
+
* ```tsx
|
|
68
|
+
* <Pill variant="removable">
|
|
69
|
+
* <Pill.Avatar url={avatarUrl} />
|
|
70
|
+
* Regina Skeltor
|
|
71
|
+
* <Pill.IconButton onClick={() => console.log('handle remove')} />
|
|
72
|
+
* </Pill>
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
Avatar: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./PillAvatar").PillAvatarProps, {
|
|
22
76
|
state: {
|
|
23
77
|
id: string;
|
|
24
78
|
maxWidth: string | number;
|
|
@@ -26,7 +80,30 @@ export declare const Pill: import("@workday/canvas-kit-react/common").ElementCom
|
|
|
26
80
|
};
|
|
27
81
|
events: {};
|
|
28
82
|
}>;
|
|
29
|
-
|
|
83
|
+
/**
|
|
84
|
+
* This component renders its `children` as the count.
|
|
85
|
+
*
|
|
86
|
+
* ```tsx
|
|
87
|
+
* <Pill onClick={() => console.warn('clicked')}>
|
|
88
|
+
* Shoes
|
|
89
|
+
* <Pill.Count>30</Pill.Count>
|
|
90
|
+
* </Pill>
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
Count: import("@workday/canvas-kit-react/common").ElementComponent<"span", import("./PillCount").PillCountProps>;
|
|
94
|
+
/**
|
|
95
|
+
* This component renders an `icon`. It not be used with the `default` styling – not `readOnly`
|
|
96
|
+
* or `removable` variants. By default it renders a `plusIcon` but it can be overridden by
|
|
97
|
+
* providing an icon to the `icon` prop.
|
|
98
|
+
*
|
|
99
|
+
* ```tsx
|
|
100
|
+
* <Pill onClick={() => console.warn('clicked')}>
|
|
101
|
+
* <Pill.Icon />
|
|
102
|
+
* <Pill.Label>Regina Skeltor</Pill.Label>
|
|
103
|
+
* </Pill>
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
Icon: import("@workday/canvas-kit-react/common").ElementComponentM<"span", import("./PillIcon").PillIconProps, {
|
|
30
107
|
state: {
|
|
31
108
|
id: string;
|
|
32
109
|
maxWidth: string | number;
|
|
@@ -34,8 +111,19 @@ export declare const Pill: import("@workday/canvas-kit-react/common").ElementCom
|
|
|
34
111
|
};
|
|
35
112
|
events: {};
|
|
36
113
|
}>;
|
|
37
|
-
|
|
38
|
-
|
|
114
|
+
/**
|
|
115
|
+
* This component renders a custom icon button. It is only intended to be used with the
|
|
116
|
+
* `removable` variant. By default, it renders a `xSmallIcon` but can be overridden by providing
|
|
117
|
+
* an icon to the `icon` prop.
|
|
118
|
+
*
|
|
119
|
+
* ```tsx
|
|
120
|
+
* <Pill variant="removable">
|
|
121
|
+
* Pink Shirts
|
|
122
|
+
* <Pill.IconButton onClick={() => console.warn('clicked')} />
|
|
123
|
+
* </Pill>
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
IconButton: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./PillIconButton").PillIconButtonProps, {
|
|
39
127
|
state: {
|
|
40
128
|
id: string;
|
|
41
129
|
maxWidth: string | number;
|
|
@@ -43,7 +131,17 @@ export declare const Pill: import("@workday/canvas-kit-react/common").ElementCom
|
|
|
43
131
|
};
|
|
44
132
|
events: {};
|
|
45
133
|
}>;
|
|
46
|
-
|
|
134
|
+
/**
|
|
135
|
+
* This component renders a `<span>` that automatically handles overflow by rendering a tooltip.
|
|
136
|
+
* There's no need to use this component directly since the overflow is handled for you automatically.
|
|
137
|
+
*
|
|
138
|
+
* ```tsx
|
|
139
|
+
* <Pill variant="readOnly">
|
|
140
|
+
* <Pill.Label>Read-only</Pill.Label>
|
|
141
|
+
* </Pill>
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
Label: import("@workday/canvas-kit-react/common").ElementComponentM<"span", import("./PillLabel").PillLabelProps, {
|
|
47
145
|
state: {
|
|
48
146
|
id: string;
|
|
49
147
|
maxWidth: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pill.d.ts","sourceRoot":"","sources":["../../../../pill/lib/Pill.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pill.d.ts","sourceRoot":"","sources":["../../../../pill/lib/Pill.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAC,QAAQ,EAAmB,MAAM,kCAAkC,CAAC;AAW5E,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;CAChD;AAsID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;IAIb;;;;;;;;;;OAUG;;;;;;;;;IAEH;;;;;;;;;OASG;;IAEH;;;;;;;;;;;OAWG;;;;;;;;;IAEH;;;;;;;;;;;OAWG;;;;;;;;;IAEH;;;;;;;;;OASG;;;;;;;;;CAyDL,CAAC"}
|