@workday/canvas-kit-react 14.0.0-alpha.1234-next.0 → 14.0.0-alpha.1238-next.0
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/checkbox/lib/CheckBackground.tsx +1 -1
- package/common/lib/CanvasProvider.tsx +6 -5
- package/common/lib/styles/errorRing.ts +2 -2
- package/common/lib/theming/README.md +1 -1
- package/common/lib/types.ts +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.js +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.js +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +20 -20
- package/dist/commonjs/badge/lib/CountBadge.js +6 -6
- package/dist/commonjs/banner/lib/Banner.js +5 -5
- package/dist/commonjs/banner/lib/BannerActionText.js +2 -2
- package/dist/commonjs/banner/lib/BannerIcon.js +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.js +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.js +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.js +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.js +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.js +2 -2
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.js +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +21 -21
- package/dist/commonjs/button/lib/DeleteButton.js +1 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.js +1 -1
- package/dist/commonjs/button/lib/Hyperlink.js +4 -4
- package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
- package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.js +17 -17
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +2 -2
- package/dist/commonjs/button/lib/ToolbarIconButton.js +1 -1
- package/dist/commonjs/card/lib/Card.js +3 -3
- package/dist/commonjs/card/lib/CardBody.js +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.d.ts +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.js +3 -3
- package/dist/commonjs/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +3 -3
- package/dist/commonjs/color-picker/lib/ColorInput.js +3 -3
- package/dist/commonjs/color-picker/lib/ColorPreview.js +1 -1
- package/dist/commonjs/color-picker/lib/parts/ColorSwatch.js +2 -2
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.d.ts +4 -0
- package/dist/commonjs/common/lib/CanvasProvider.d.ts.map +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +9 -5
- package/dist/commonjs/common/lib/styles/errorRing.js +2 -2
- package/dist/commonjs/common/lib/types.d.ts +1 -1
- package/dist/commonjs/common/lib/types.d.ts.map +1 -1
- package/dist/commonjs/common/lib/types.js +1 -1
- package/dist/commonjs/expandable/lib/Expandable.js +1 -1
- package/dist/commonjs/expandable/lib/ExpandableAvatar.js +1 -1
- package/dist/commonjs/expandable/lib/ExpandableContent.js +1 -1
- package/dist/commonjs/expandable/lib/ExpandableIcon.js +10 -10
- package/dist/commonjs/expandable/lib/ExpandableTarget.js +1 -1
- package/dist/commonjs/expandable/lib/ExpandableTitle.js +1 -1
- package/dist/commonjs/form-field/lib/FormField.d.ts +7 -7
- package/dist/commonjs/form-field/lib/FormFieldContainer.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroup.d.ts +7 -7
- package/dist/commonjs/form-field/lib/FormFieldGroupInput.d.ts +2 -2
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.d.ts +2 -2
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldInput.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldLabel.d.ts +1 -1
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.d.ts +1 -1
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.d.ts +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.d.ts +2 -2
- package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts +1 -4
- package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/hooks/useFormFieldModel.d.ts +10 -10
- package/dist/commonjs/form-field/lib/hooks/useFormFieldModel.js +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +4 -4
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuDivider.js +1 -1
- package/dist/commonjs/menu/lib/MenuGroup.js +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageButton.js +2 -2
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Pagination.js +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/List.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.js +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.js +4 -4
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.d.ts +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/skeleton/lib/Skeleton.js +2 -2
- package/dist/commonjs/skeleton/lib/parts/SkeletonHeader.js +1 -1
- package/dist/commonjs/skeleton/lib/parts/SkeletonShape.js +1 -1
- package/dist/commonjs/skeleton/lib/parts/SkeletonText.js +1 -1
- package/dist/commonjs/switch/lib/Switch.js +9 -9
- package/dist/commonjs/table/lib/BaseTable.js +1 -1
- package/dist/commonjs/table/lib/Table.js +7 -7
- package/dist/commonjs/table/lib/parts/BaseTableBody.js +1 -1
- package/dist/commonjs/table/lib/parts/BaseTableCaption.js +1 -1
- package/dist/commonjs/table/lib/parts/BaseTableCell.js +1 -1
- package/dist/commonjs/table/lib/parts/BaseTableHead.js +1 -1
- package/dist/commonjs/table/lib/parts/BaseTableHeader.js +1 -1
- package/dist/commonjs/table/lib/parts/css-grid-table/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.js +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +8 -8
- package/dist/commonjs/tabs/lib/TabsOverflowButton.js +1 -1
- package/dist/commonjs/text/lib/LabelText.js +6 -6
- package/dist/commonjs/text/lib/Text.js +16 -16
- package/dist/commonjs/text/lib/TypeLevelComponents.js +4 -4
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -1
- package/dist/commonjs/text-area/lib/TextArea.js +5 -5
- package/dist/commonjs/text-input/lib/InputGroup.js +6 -6
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -1
- package/dist/commonjs/text-input/lib/TextInput.js +5 -5
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/toast/lib/ToastBody.js +1 -1
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastMessage.js +1 -1
- package/dist/commonjs/tooltip/lib/TooltipContainer.js +2 -2
- package/dist/commonjs/version.js +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.js +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.js +1 -1
- package/dist/es6/avatar/lib/Avatar.js +20 -20
- package/dist/es6/badge/lib/CountBadge.js +6 -6
- package/dist/es6/banner/lib/Banner.js +5 -5
- package/dist/es6/banner/lib/BannerActionText.js +2 -2
- package/dist/es6/banner/lib/BannerIcon.js +1 -1
- package/dist/es6/banner/lib/BannerLabel.js +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.js +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.js +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.js +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.js +2 -2
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.js +1 -1
- package/dist/es6/button/lib/BaseButton.js +21 -21
- package/dist/es6/button/lib/DeleteButton.js +1 -1
- package/dist/es6/button/lib/ExternalHyperlink.js +1 -1
- package/dist/es6/button/lib/Hyperlink.js +4 -4
- package/dist/es6/button/lib/PrimaryButton.js +2 -2
- package/dist/es6/button/lib/SecondaryButton.js +2 -2
- package/dist/es6/button/lib/TertiaryButton.js +17 -17
- package/dist/es6/button/lib/ToolbarDropdownButton.js +2 -2
- package/dist/es6/button/lib/ToolbarIconButton.js +1 -1
- package/dist/es6/card/lib/Card.js +3 -3
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.js +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.d.ts +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.js +3 -3
- package/dist/es6/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/es6/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/es6/collection/lib/ListBox.js +3 -3
- package/dist/es6/color-picker/lib/ColorInput.js +3 -3
- package/dist/es6/color-picker/lib/ColorPreview.js +1 -1
- package/dist/es6/color-picker/lib/parts/ColorSwatch.js +2 -2
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.d.ts +4 -0
- package/dist/es6/common/lib/CanvasProvider.d.ts.map +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +7 -3
- package/dist/es6/common/lib/styles/errorRing.js +2 -2
- package/dist/es6/common/lib/types.d.ts +1 -1
- package/dist/es6/common/lib/types.d.ts.map +1 -1
- package/dist/es6/common/lib/types.js +1 -1
- package/dist/es6/expandable/lib/Expandable.js +1 -1
- package/dist/es6/expandable/lib/ExpandableAvatar.js +1 -1
- package/dist/es6/expandable/lib/ExpandableContent.js +1 -1
- package/dist/es6/expandable/lib/ExpandableIcon.js +10 -10
- package/dist/es6/expandable/lib/ExpandableTarget.js +1 -1
- package/dist/es6/expandable/lib/ExpandableTitle.js +1 -1
- package/dist/es6/form-field/lib/FormField.d.ts +7 -7
- package/dist/es6/form-field/lib/FormFieldContainer.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroup.d.ts +7 -7
- package/dist/es6/form-field/lib/FormFieldGroupInput.d.ts +2 -2
- package/dist/es6/form-field/lib/FormFieldGroupLabel.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.d.ts +2 -2
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldInput.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldLabel.d.ts +1 -1
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.d.ts +1 -1
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/form-field/lib/hooks/useFormFieldHint.d.ts +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldInput.d.ts +2 -2
- package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts +1 -4
- package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
- package/dist/es6/form-field/lib/hooks/useFormFieldModel.d.ts +10 -10
- package/dist/es6/form-field/lib/hooks/useFormFieldModel.js +1 -1
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +4 -4
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuDivider.js +1 -1
- package/dist/es6/menu/lib/MenuGroup.js +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.js +2 -2
- package/dist/es6/pagination/lib/Pagination/Controls.js +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.js +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.js +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.js +1 -1
- package/dist/es6/pagination/lib/Pagination/PageButton.js +2 -2
- package/dist/es6/pagination/lib/Pagination/PageList.js +1 -1
- package/dist/es6/pagination/lib/Pagination/Pagination.js +1 -1
- package/dist/es6/pagination/lib/Pagination/common/List.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.js +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlButton.js +4 -4
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.d.ts +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/skeleton/lib/Skeleton.js +2 -2
- package/dist/es6/skeleton/lib/parts/SkeletonHeader.js +1 -1
- package/dist/es6/skeleton/lib/parts/SkeletonShape.js +1 -1
- package/dist/es6/skeleton/lib/parts/SkeletonText.js +1 -1
- package/dist/es6/switch/lib/Switch.js +9 -9
- package/dist/es6/table/lib/BaseTable.js +1 -1
- package/dist/es6/table/lib/Table.js +7 -7
- package/dist/es6/table/lib/parts/BaseTableBody.js +1 -1
- package/dist/es6/table/lib/parts/BaseTableCaption.js +1 -1
- package/dist/es6/table/lib/parts/BaseTableCell.js +1 -1
- package/dist/es6/table/lib/parts/BaseTableHead.js +1 -1
- package/dist/es6/table/lib/parts/BaseTableHeader.js +1 -1
- package/dist/es6/table/lib/parts/css-grid-table/TableRow.js +1 -1
- package/dist/es6/tabs/lib/TabsItem.js +1 -1
- package/dist/es6/tabs/lib/TabsList.js +8 -8
- package/dist/es6/tabs/lib/TabsOverflowButton.js +1 -1
- package/dist/es6/text/lib/LabelText.js +6 -6
- package/dist/es6/text/lib/Text.js +16 -16
- package/dist/es6/text/lib/TypeLevelComponents.js +4 -4
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -1
- package/dist/es6/text-area/lib/TextArea.js +5 -5
- package/dist/es6/text-input/lib/InputGroup.js +6 -6
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -1
- package/dist/es6/text-input/lib/TextInput.js +5 -5
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/toast/lib/ToastBody.js +1 -1
- package/dist/es6/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/es6/toast/lib/ToastIcon.js +1 -1
- package/dist/es6/toast/lib/ToastMessage.js +1 -1
- package/dist/es6/tooltip/lib/TooltipContainer.js +2 -2
- package/dist/es6/version.js +1 -1
- package/form-field/lib/FormFieldGroupList.tsx +1 -1
- package/form-field/lib/FormFieldHint.tsx +1 -1
- package/form-field/lib/formFieldStencil.ts +1 -1
- package/form-field/lib/hooks/useFormFieldModel.tsx +2 -2
- package/package.json +4 -4
- package/select/lib/SelectInput.tsx +1 -1
- package/switch/lib/Switch.tsx +1 -1
- package/text-input/lib/TextInput.tsx +1 -1
|
@@ -23,14 +23,14 @@ export interface FormFieldProps extends FlexProps, GrowthBehavior {
|
|
|
23
23
|
* @stencil formFieldStencil
|
|
24
24
|
*/
|
|
25
25
|
export declare const FormField: import("@workday/canvas-kit-react/common").ElementComponentM<"div", FormFieldProps & Partial<{
|
|
26
|
-
error: "error" | "
|
|
26
|
+
error: "error" | "caution" | undefined;
|
|
27
27
|
id: string;
|
|
28
28
|
isRequired: boolean;
|
|
29
29
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
30
30
|
}> & {} & {}, {
|
|
31
31
|
state: {
|
|
32
32
|
id: string;
|
|
33
|
-
error: "error" | "
|
|
33
|
+
error: "error" | "caution" | undefined;
|
|
34
34
|
isRequired: boolean;
|
|
35
35
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
36
36
|
};
|
|
@@ -52,7 +52,7 @@ export declare const FormField: import("@workday/canvas-kit-react/common").Eleme
|
|
|
52
52
|
Input: import("@workday/canvas-kit-react/common").ElementComponentM<"input", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("../../layout/lib/utils/border/color").BorderColorStyleProps & import("../../layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("../../layout/lib/utils/border/radius").BorderRadiusStyleProps & import("../../layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("../../layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps, {
|
|
53
53
|
state: {
|
|
54
54
|
id: string;
|
|
55
|
-
error: "error" | "
|
|
55
|
+
error: "error" | "caution" | undefined;
|
|
56
56
|
isRequired: boolean;
|
|
57
57
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
58
58
|
};
|
|
@@ -73,7 +73,7 @@ export declare const FormField: import("@workday/canvas-kit-react/common").Eleme
|
|
|
73
73
|
Label: import("@workday/canvas-kit-react/common").ElementComponentM<"label", import("./FormFieldLabel").FormFieldLabelProps, {
|
|
74
74
|
state: {
|
|
75
75
|
id: string;
|
|
76
|
-
error: "error" | "
|
|
76
|
+
error: "error" | "caution" | undefined;
|
|
77
77
|
isRequired: boolean;
|
|
78
78
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
79
79
|
};
|
|
@@ -96,7 +96,7 @@ export declare const FormField: import("@workday/canvas-kit-react/common").Eleme
|
|
|
96
96
|
Hint: import("@workday/canvas-kit-react/common").ElementComponentM<"p", import("../..").TextProps, {
|
|
97
97
|
state: {
|
|
98
98
|
id: string;
|
|
99
|
-
error: "error" | "
|
|
99
|
+
error: "error" | "caution" | undefined;
|
|
100
100
|
isRequired: boolean;
|
|
101
101
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
102
102
|
};
|
|
@@ -121,7 +121,7 @@ export declare const FormField: import("@workday/canvas-kit-react/common").Eleme
|
|
|
121
121
|
Container: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-styling").CSProps, {
|
|
122
122
|
state: {
|
|
123
123
|
id: string;
|
|
124
|
-
error: "error" | "
|
|
124
|
+
error: "error" | "caution" | undefined;
|
|
125
125
|
isRequired: boolean;
|
|
126
126
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
127
127
|
};
|
|
@@ -142,7 +142,7 @@ export declare const FormField: import("@workday/canvas-kit-react/common").Eleme
|
|
|
142
142
|
Field: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-styling").CSProps, {
|
|
143
143
|
state: {
|
|
144
144
|
id: string;
|
|
145
|
-
error: "error" | "
|
|
145
|
+
error: "error" | "caution" | undefined;
|
|
146
146
|
isRequired: boolean;
|
|
147
147
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
148
148
|
};
|
|
@@ -9,7 +9,7 @@ export declare const formFieldContainerStencil: import("@workday/canvas-kit-styl
|
|
|
9
9
|
export declare const FormFieldContainer: import("@workday/canvas-kit-react/common").ElementComponentM<"div", CSProps, {
|
|
10
10
|
state: {
|
|
11
11
|
id: string;
|
|
12
|
-
error: "error" | "
|
|
12
|
+
error: "error" | "caution" | undefined;
|
|
13
13
|
isRequired: boolean;
|
|
14
14
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
15
15
|
};
|
|
@@ -10,7 +10,7 @@ const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
|
10
10
|
* @deprecated `formFieldContainerStencil` is deprecated and will be removed in a future major version. Please use `FormField.Field` to always wrap `FormField.Input` and `FormField.Hint` to always ensure correct label and input alignment.
|
|
11
11
|
*/
|
|
12
12
|
exports.formFieldContainerStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "42gydo", styles: "box-sizing:border-box;display:flex;flex-direction:column;gap:var(--cnvs-sys-space-x2);" }
|
|
14
14
|
}, "form-field-container-6a4115");
|
|
15
15
|
/**
|
|
16
16
|
* @deprecated `FormField.Container` is deprecated and will be removed in a future major version. Please use `FormField.Field` to always wrap `FormField.Input` and `FormField.Hint` to always ensure correct label and input alignment.
|
|
@@ -3,7 +3,7 @@ export declare const formFieldFieldStencil: import("@workday/canvas-kit-styling"
|
|
|
3
3
|
export declare const FormFieldField: import("@workday/canvas-kit-react/common").ElementComponentM<"div", CSProps, {
|
|
4
4
|
state: {
|
|
5
5
|
id: string;
|
|
6
|
-
error: "error" | "
|
|
6
|
+
error: "error" | "caution" | undefined;
|
|
7
7
|
isRequired: boolean;
|
|
8
8
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
|
|
|
7
7
|
const hooks_1 = require("./hooks");
|
|
8
8
|
const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
9
9
|
exports.formFieldFieldStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
10
|
-
base: { name: "
|
|
10
|
+
base: { name: "1q091r", styles: "box-sizing:border-box;display:flex;flex-direction:column;gap:var(--cnvs-sys-space-x2);" }
|
|
11
11
|
}, "form-field-field-a35e82");
|
|
12
12
|
exports.FormFieldField = (0, common_1.createSubcomponent)('div')({
|
|
13
13
|
displayName: 'FormField.Field',
|
|
@@ -27,14 +27,14 @@ export interface FormFieldGroupProps extends FlexProps, GrowthBehavior {
|
|
|
27
27
|
* @stencil formFieldStencil
|
|
28
28
|
*/
|
|
29
29
|
export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").ElementComponentM<"div", FormFieldGroupProps & Partial<{
|
|
30
|
-
error: "error" | "
|
|
30
|
+
error: "error" | "caution" | undefined;
|
|
31
31
|
id: string;
|
|
32
32
|
isRequired: boolean;
|
|
33
33
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
34
34
|
}> & {} & {}, {
|
|
35
35
|
state: {
|
|
36
36
|
id: string;
|
|
37
|
-
error: "error" | "
|
|
37
|
+
error: "error" | "caution" | undefined;
|
|
38
38
|
isRequired: boolean;
|
|
39
39
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
40
40
|
};
|
|
@@ -59,7 +59,7 @@ export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").
|
|
|
59
59
|
Input: import("@workday/canvas-kit-react/common").ElementComponentM<"input", import("./FormFieldGroupInput").FormFieldGroupInputProps, {
|
|
60
60
|
state: {
|
|
61
61
|
id: string;
|
|
62
|
-
error: "error" | "
|
|
62
|
+
error: "error" | "caution" | undefined;
|
|
63
63
|
isRequired: boolean;
|
|
64
64
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
65
65
|
};
|
|
@@ -80,7 +80,7 @@ export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").
|
|
|
80
80
|
Label: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./FormFieldGroupLabel").FormFieldGroupLabelProps, {
|
|
81
81
|
state: {
|
|
82
82
|
id: string;
|
|
83
|
-
error: "error" | "
|
|
83
|
+
error: "error" | "caution" | undefined;
|
|
84
84
|
isRequired: boolean;
|
|
85
85
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
86
86
|
};
|
|
@@ -92,7 +92,7 @@ export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").
|
|
|
92
92
|
List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./FormFieldGroupList").FormFieldGroupListProps, {
|
|
93
93
|
state: {
|
|
94
94
|
id: string;
|
|
95
|
-
error: "error" | "
|
|
95
|
+
error: "error" | "caution" | undefined;
|
|
96
96
|
isRequired: boolean;
|
|
97
97
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
98
98
|
};
|
|
@@ -116,7 +116,7 @@ export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").
|
|
|
116
116
|
Hint: import("@workday/canvas-kit-react/common").ElementComponentM<"p", import("../..").TextProps, {
|
|
117
117
|
state: {
|
|
118
118
|
id: string;
|
|
119
|
-
error: "error" | "
|
|
119
|
+
error: "error" | "caution" | undefined;
|
|
120
120
|
isRequired: boolean;
|
|
121
121
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
122
122
|
};
|
|
@@ -142,7 +142,7 @@ export declare const FormFieldGroup: import("@workday/canvas-kit-react/common").
|
|
|
142
142
|
Field: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-styling").CSProps, {
|
|
143
143
|
state: {
|
|
144
144
|
id: string;
|
|
145
|
-
error: "error" | "
|
|
145
|
+
error: "error" | "caution" | undefined;
|
|
146
146
|
isRequired: boolean;
|
|
147
147
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
148
148
|
};
|
|
@@ -7,7 +7,7 @@ export interface FormFieldGroupInputProps extends CSProps {
|
|
|
7
7
|
export declare const useFormFieldGroupInput: import("@workday/canvas-kit-react/common").BehaviorHook<{
|
|
8
8
|
state: {
|
|
9
9
|
id: string;
|
|
10
|
-
error: "error" | "
|
|
10
|
+
error: "error" | "caution" | undefined;
|
|
11
11
|
isRequired: boolean;
|
|
12
12
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
13
13
|
};
|
|
@@ -20,7 +20,7 @@ export declare const useFormFieldGroupInput: import("@workday/canvas-kit-react/c
|
|
|
20
20
|
export declare const FormFieldGroupInput: import("@workday/canvas-kit-react/common").ElementComponentM<"input", FormFieldGroupInputProps, {
|
|
21
21
|
state: {
|
|
22
22
|
id: string;
|
|
23
|
-
error: "error" | "
|
|
23
|
+
error: "error" | "caution" | undefined;
|
|
24
24
|
isRequired: boolean;
|
|
25
25
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
26
26
|
};
|
|
@@ -114,7 +114,7 @@ export declare const formFieldGroupLabelStencil: import("@workday/canvas-kit-sty
|
|
|
114
114
|
export declare const FormFieldGroupLabel: import("@workday/canvas-kit-react/common").ElementComponentM<"div", FormFieldGroupLabelProps, {
|
|
115
115
|
state: {
|
|
116
116
|
id: string;
|
|
117
|
-
error: "error" | "
|
|
117
|
+
error: "error" | "caution" | undefined;
|
|
118
118
|
isRequired: boolean;
|
|
119
119
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
120
120
|
};
|
|
@@ -11,15 +11,15 @@ const hooks_1 = require("./hooks");
|
|
|
11
11
|
exports.formFieldGroupLabelStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
12
12
|
extends: text_1.textStencil,
|
|
13
13
|
// @ts-ignore Still weird about CSS font variables
|
|
14
|
-
base: { name: "
|
|
14
|
+
base: { name: "1c623y", styles: "box-sizing:border-box;font-weight:var(--cnvs-sys-font-weight-medium);color:var(--cnvs-sys-color-text-default);padding-inline-start:var(--cnvs-sys-space-zero);display:flex;align-items:center;min-width:11.25rem;" },
|
|
15
15
|
modifiers: {
|
|
16
16
|
isRequired: {
|
|
17
|
-
true: { name: "
|
|
17
|
+
true: { name: "t7ih5", styles: "&::after{content:\"*\";font-size:var(--cnvs-sys-font-size-body-large);font-weight:var(--cnvs-sys-font-weight-normal);color:var(--cnvs-brand-error-base);text-decoration:unset;margin-inline-start:var(--cnvs-sys-space-x1);}" }
|
|
18
18
|
},
|
|
19
19
|
orientation: {
|
|
20
|
-
vertical: { name: "
|
|
21
|
-
horizontalStart: { name: "
|
|
22
|
-
horizontalEnd: { name: "
|
|
20
|
+
vertical: { name: "32n1wk", styles: "width:100%;" },
|
|
21
|
+
horizontalStart: { name: "1z4lf2", styles: "justify-content:flex-start;float:left;max-height:var(--cnvs-sys-space-x10);" },
|
|
22
|
+
horizontalEnd: { name: "3svbm5", styles: "max-height:var(--cnvs-sys-space-x10);float:left;justify-content:flex-end;" }
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
defaultModifiers: {
|
|
@@ -5,7 +5,7 @@ export interface FormFieldGroupListProps extends CSProps, FlexProps {
|
|
|
5
5
|
export declare const FormFieldGroupList: import("@workday/canvas-kit-react/common").ElementComponentM<"div", FormFieldGroupListProps, {
|
|
6
6
|
state: {
|
|
7
7
|
id: string;
|
|
8
|
-
error: "error" | "
|
|
8
|
+
error: "error" | "caution" | undefined;
|
|
9
9
|
isRequired: boolean;
|
|
10
10
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
11
11
|
};
|
|
@@ -7,11 +7,11 @@ const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
|
|
|
7
7
|
const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
8
8
|
const hooks_1 = require("./hooks");
|
|
9
9
|
const formFieldGroupListStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
10
|
-
base: { name: "
|
|
10
|
+
base: { name: "yzvke", styles: "box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--cnvs-sys-shape-x1-half);gap:var(--cnvs-sys-space-x2);padding:0.625rem var(--cnvs-sys-space-x3) var(--cnvs-sys-space-x2);margin:0 calc(var(--cnvs-sys-space-x3) * -1);transition:100ms box-shadow;width:fit-content;" },
|
|
11
11
|
modifiers: {
|
|
12
12
|
error: {
|
|
13
|
-
error: { name: "
|
|
14
|
-
|
|
13
|
+
error: { name: "2yydnm", styles: "background-color:var(--cnvs-brand-error-lightest);box-shadow:inset 0 0 0 0.125rem var(--cnvs-brand-common-error-inner);" },
|
|
14
|
+
caution: { name: "476kge", styles: "background-color:var(--cnvs-brand-alert-lightest);box-shadow:inset 0 0 0 0.0625rem var(--cnvs-brand-common-alert-outer), inset 0 0 0 0.1875rem var(--cnvs-brand-common-alert-inner);" }
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}, "form-field-group-list-9f0751");
|
|
@@ -3,7 +3,7 @@ export declare const formFieldHintStencil: import("@workday/canvas-kit-styling")
|
|
|
3
3
|
error: {
|
|
4
4
|
color: "--cnvs-brand-error-base";
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
caution: {
|
|
7
7
|
color: "--cnvs-sys-color-text-caution-default";
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -113,7 +113,7 @@ export declare const formFieldHintStencil: import("@workday/canvas-kit-styling")
|
|
|
113
113
|
export declare const FormFieldHint: import("@workday/canvas-kit-react/common").ElementComponentM<"p", import("@workday/canvas-kit-react/text").TextProps, {
|
|
114
114
|
state: {
|
|
115
115
|
id: string;
|
|
116
|
-
error: "error" | "
|
|
116
|
+
error: "error" | "caution" | undefined;
|
|
117
117
|
isRequired: boolean;
|
|
118
118
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
119
119
|
};
|
|
@@ -10,11 +10,11 @@ const layout_1 = require("@workday/canvas-kit-react/layout");
|
|
|
10
10
|
const hooks_1 = require("./hooks");
|
|
11
11
|
exports.formFieldHintStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
12
12
|
extends: text_1.textStencil,
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "29px2v", styles: "box-sizing:border-box;margin:var(--cnvs-sys-space-zero);" },
|
|
14
14
|
modifiers: {
|
|
15
15
|
error: {
|
|
16
|
-
error: { name: "
|
|
17
|
-
|
|
16
|
+
error: { name: "3fnxnx", styles: "color:var(--cnvs-brand-error-base);" },
|
|
17
|
+
caution: { name: "138w19", styles: "color:var(--cnvs-sys-color-text-caution-default);" }
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
defaultModifiers: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const FormFieldInput: import("@workday/canvas-kit-react/common").ElementComponentM<"input", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("../../layout/lib/utils/border/color").BorderColorStyleProps & import("../../layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("../../layout/lib/utils/border/radius").BorderRadiusStyleProps & import("../../layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("../../layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps, {
|
|
2
2
|
state: {
|
|
3
3
|
id: string;
|
|
4
|
-
error: "error" | "
|
|
4
|
+
error: "error" | "caution" | undefined;
|
|
5
5
|
isRequired: boolean;
|
|
6
6
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
7
7
|
};
|
|
@@ -118,7 +118,7 @@ export declare const formFieldLabelStencil: import("@workday/canvas-kit-styling"
|
|
|
118
118
|
export declare const FormFieldLabel: import("@workday/canvas-kit-react/common").ElementComponentM<"label", FormFieldLabelProps, {
|
|
119
119
|
state: {
|
|
120
120
|
id: string;
|
|
121
|
-
error: "error" | "
|
|
121
|
+
error: "error" | "caution" | undefined;
|
|
122
122
|
isRequired: boolean;
|
|
123
123
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
124
124
|
};
|
|
@@ -11,18 +11,18 @@ const hooks_1 = require("./hooks");
|
|
|
11
11
|
exports.formFieldLabelStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
12
12
|
extends: text_1.textStencil,
|
|
13
13
|
// @ts-ignore Still weird about CSS font variables
|
|
14
|
-
base: { name: "
|
|
14
|
+
base: { name: "474qsv", styles: "box-sizing:border-box;font-weight:var(--cnvs-sys-font-weight-medium);color:var(--cnvs-sys-color-text-default);padding-inline-start:var(--cnvs-sys-space-zero);display:flex;align-items:center;min-width:11.25rem;" },
|
|
15
15
|
modifiers: {
|
|
16
16
|
isRequired: {
|
|
17
|
-
true: { name: "
|
|
17
|
+
true: { name: "4e12ja", styles: "&::after{content:\"*\";font-size:var(--cnvs-sys-font-size-body-large);font-weight:var(--cnvs-sys-font-weight-normal);color:var(--cnvs-brand-error-base);text-decoration:unset;margin-inline-start:var(--cnvs-sys-space-x1);}" }
|
|
18
18
|
},
|
|
19
19
|
orientation: {
|
|
20
|
-
horizontalStart: { name: "
|
|
21
|
-
horizontalEnd: { name: "
|
|
22
|
-
vertical: { name: "
|
|
20
|
+
horizontalStart: { name: "3a2lk6", styles: "justify-content:flex-start;float:left;max-height:var(--cnvs-sys-space-x10);" },
|
|
21
|
+
horizontalEnd: { name: "2mjawd", styles: "max-height:var(--cnvs-sys-space-x10);float:left;justify-content:flex-end;" },
|
|
22
|
+
vertical: { name: "1r45qv", styles: "width:100%;" }
|
|
23
23
|
},
|
|
24
24
|
isHidden: {
|
|
25
|
-
true: { name: "
|
|
25
|
+
true: { name: "30mniu", styles: "clip:rect(1px, 1px, 1px, 1px);clip-path:polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);position:absolute;overflow:hidden;white-space:nowrap;height:1px;min-height:1px;width:1px;min-width:1px;margin:-1px;padding:0;border:0;" }
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
defaultModifiers: {
|
|
@@ -4,22 +4,22 @@ exports.formFieldStencil = void 0;
|
|
|
4
4
|
const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
|
|
5
5
|
const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
6
6
|
exports.formFieldStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
7
|
-
base: { name: "
|
|
7
|
+
base: { name: "nki05", styles: "box-sizing:border-box;display:flex;border:none;padding:var(--cnvs-sys-space-zero);margin:var(--cnvs-sys-space-zero) var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x6);" },
|
|
8
8
|
modifiers: {
|
|
9
9
|
grow: {
|
|
10
|
-
true: { name: "
|
|
10
|
+
true: { name: "7jhrl", styles: "width:100%;[data-width=\"ck-formfield-width\"]{width:100%;}&:has(div[data-width=\"ck-formfield-width\"]){width:100%;}" }
|
|
11
11
|
},
|
|
12
12
|
orientation: {
|
|
13
|
-
horizontalStart: { name: "
|
|
14
|
-
horizontalEnd: { name: "
|
|
15
|
-
vertical: { name: "
|
|
13
|
+
horizontalStart: { name: "11hypl", styles: "flex-direction:row;gap:var(--cnvs-sys-space-x8);" },
|
|
14
|
+
horizontalEnd: { name: "15sfkv", styles: "flex-direction:row;gap:var(--cnvs-sys-space-x8);" },
|
|
15
|
+
vertical: { name: "2gdsrh", styles: "flex-direction:column;gap:var(--cnvs-sys-space-x1);align-items:flex-start;" }
|
|
16
16
|
},
|
|
17
17
|
required: {
|
|
18
|
-
true: { name: "
|
|
18
|
+
true: { name: "3f0g3h", styles: "" }
|
|
19
19
|
},
|
|
20
20
|
error: {
|
|
21
|
-
error: { name: "
|
|
22
|
-
|
|
21
|
+
error: { name: "p8w2d", styles: "" },
|
|
22
|
+
caution: { name: "1ompzf", styles: "" }
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
defaultModifiers: {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export declare const useFormFieldHint: import("@workday/canvas-kit-react/common").BehaviorHook<{
|
|
6
6
|
state: {
|
|
7
7
|
id: string;
|
|
8
|
-
error: "error" | "
|
|
8
|
+
error: "error" | "caution" | undefined;
|
|
9
9
|
isRequired: boolean;
|
|
10
10
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export declare const useFormFieldInput: import("@workday/canvas-kit-react/common").BehaviorHook<{
|
|
6
6
|
state: {
|
|
7
7
|
id: string;
|
|
8
|
-
error: "error" | "
|
|
8
|
+
error: "error" | "caution" | undefined;
|
|
9
9
|
isRequired: boolean;
|
|
10
10
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
11
11
|
};
|
|
@@ -22,6 +22,6 @@ export declare const useFormFieldInput: import("@workday/canvas-kit-react/common
|
|
|
22
22
|
* Provide an `id` to link the input via the `for` attribute on a `label`
|
|
23
23
|
*/
|
|
24
24
|
readonly id: string | undefined;
|
|
25
|
-
readonly error: "error" | "
|
|
25
|
+
readonly error: "error" | "caution" | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
//# sourceMappingURL=useFormFieldInput.d.ts.map
|
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
export declare const useFormFieldLabel: import("@workday/canvas-kit-react/common").BehaviorHook<{
|
|
6
6
|
state: {
|
|
7
7
|
id: string;
|
|
8
|
-
error: "error" | "
|
|
9
|
-
* Provide an `id` attribute for `id/aria-labelledby` links between the label and any other
|
|
10
|
-
* element
|
|
11
|
-
*/
|
|
8
|
+
error: "error" | "caution" | undefined;
|
|
12
9
|
isRequired: boolean;
|
|
13
10
|
orientation: "vertical" | "horizontalEnd" | "horizontalStart";
|
|
14
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;IAE1B;;OAEG;;IAEH;;;OAGG;;EAGL,CAAC"}
|
|
@@ -2,9 +2,9 @@ export declare const useFormFieldModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
2
2
|
/**
|
|
3
3
|
* Optional flag to denote if this field has an error or warning to display.
|
|
4
4
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
5
|
-
* If value is `
|
|
5
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
6
6
|
*/
|
|
7
|
-
error: "error" | "
|
|
7
|
+
error: "error" | "caution" | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Optional `id` provided to `FormField`'s subcomponents as HTML attributes:
|
|
10
10
|
* - `FormField.Input` will set `aria-describedby` to `hint-${id}`
|
|
@@ -28,9 +28,9 @@ export declare const useFormFieldModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
28
28
|
/**
|
|
29
29
|
* Optional flag to denote if this field has an error or warning to display.
|
|
30
30
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
31
|
-
* If value is `
|
|
31
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
32
32
|
*/
|
|
33
|
-
error: "error" | "
|
|
33
|
+
error: "error" | "caution" | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* Optional flag to denote if this field is required. When true the `FormField.Input` will have
|
|
36
36
|
* `required` set to true, and an asterisk will be appended to the `FormField.Label`.
|
|
@@ -43,9 +43,9 @@ export declare const useFormFieldModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
43
43
|
/**
|
|
44
44
|
* Optional flag to denote if this field has an error or warning to display.
|
|
45
45
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
46
|
-
* If value is `
|
|
46
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
47
47
|
*/
|
|
48
|
-
error: "error" | "
|
|
48
|
+
error: "error" | "caution" | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Optional `id` provided to `FormField`'s subcomponents as HTML attributes:
|
|
51
51
|
* - `FormField.Input` will set `aria-describedby` to `hint-${id}`
|
|
@@ -68,9 +68,9 @@ export declare const useFormFieldModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
68
68
|
/**
|
|
69
69
|
* Optional flag to denote if this field has an error or warning to display.
|
|
70
70
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
71
|
-
* If value is `
|
|
71
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
72
72
|
*/
|
|
73
|
-
error: "error" | "
|
|
73
|
+
error: "error" | "caution" | undefined;
|
|
74
74
|
/**
|
|
75
75
|
* Optional flag to denote if this field is required. When true the `FormField.Input` will have
|
|
76
76
|
* `required` set to true, and an asterisk will be appended to the `FormField.Label`.
|
|
@@ -83,9 +83,9 @@ export declare const useFormFieldModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
83
83
|
/**
|
|
84
84
|
* Optional flag to denote if this field has an error or warning to display.
|
|
85
85
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
86
|
-
* If value is `
|
|
86
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
87
87
|
*/
|
|
88
|
-
error: "error" | "
|
|
88
|
+
error: "error" | "caution" | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Optional flag to denote if this field is required. When true the `FormField.Input` will have
|
|
91
91
|
* `required` set to true, and an asterisk will be appended to the `FormField.Label`.
|
|
@@ -7,7 +7,7 @@ exports.useFormFieldModel = (0, common_1.createModelHook)({
|
|
|
7
7
|
/**
|
|
8
8
|
* Optional flag to denote if this field has an error or warning to display.
|
|
9
9
|
* If value is `error`: `aria-invalid` is added to the `FormField.Input` and the red error ring is added.
|
|
10
|
-
* If value is `
|
|
10
|
+
* If value is `cautiion`: A visual orange warning ring is added to the `FormField.Input`.
|
|
11
11
|
*/
|
|
12
12
|
error: undefined,
|
|
13
13
|
/**
|
|
@@ -25,10 +25,10 @@ exports.accentIconStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
25
25
|
vars: {
|
|
26
26
|
color: '',
|
|
27
27
|
},
|
|
28
|
-
base: { name: "
|
|
28
|
+
base: { name: "42e0vd", styles: "box-sizing:border-box;--size-svg-728c60:3.5rem;& .color-500{fill:var(--color-accent-icon-05e3c8, var(--cnvs-sys-color-bg-primary-strong));}& .french-vanilla-100{fill:var(--cnvs-sys-color-bg-default);}" },
|
|
29
29
|
modifiers: {
|
|
30
30
|
transparent: {
|
|
31
|
-
true: { name: "
|
|
31
|
+
true: { name: "359lip", styles: "& .french-vanilla-100{fill:transparent;}" }
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}, "accent-icon-05e3c8");
|
|
@@ -55,7 +55,7 @@ exports.appletIconStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
55
55
|
color400: '',
|
|
56
56
|
color500: '',
|
|
57
57
|
},
|
|
58
|
-
base: { name: "
|
|
58
|
+
base: { name: "2u003k", styles: "box-sizing:border-box;--size-svg-728c60:5.75rem;& .color-100{fill:var(--cnvs-sys-color-fg-inverse);}& .color-200{fill:var(--color200-applet-icon-dc839d, var(--cnvs-base-palette-blue-200));}& .color-300{fill:var(--color300-applet-icon-dc839d, var(--cnvs-base-palette-blue-400));}& .color-400{fill:var(--color400-applet-icon-dc839d, var(--cnvs-base-palette-blue-600));}& .color-400-alpha-20{fill:var(--color400-applet-icon-dc839d, var(--cnvs-base-palette-blue-600));}& .color-500{fill:var(--color500-applet-icon-dc839d, var(--cnvs-base-palette-blue-700));}" }
|
|
59
59
|
}, "applet-icon-dc839d");
|
|
60
60
|
exports.AppletIcon = (0, common_1.createComponent)('span')({
|
|
61
61
|
displayName: 'AppletIcon',
|
|
@@ -42,10 +42,10 @@ exports.graphicStyles = graphicStyles;
|
|
|
42
42
|
*/
|
|
43
43
|
exports.graphicStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
44
44
|
extends: Svg_1.svgStencil,
|
|
45
|
-
base: { name: "
|
|
45
|
+
base: { name: "3jwqvt", styles: "box-sizing:border-box;" },
|
|
46
46
|
modifiers: {
|
|
47
47
|
grow: {
|
|
48
|
-
true: { name: "
|
|
48
|
+
true: { name: "41p0m7", styles: "width:100%;--width-svg-728c60:100%;" }
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}, "graphic-385fe4");
|
|
@@ -54,10 +54,10 @@ exports.graphicImageStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
54
54
|
width: '',
|
|
55
55
|
height: '',
|
|
56
56
|
},
|
|
57
|
-
base: { name: "
|
|
57
|
+
base: { name: "ghr59", styles: "box-sizing:border-box;width:var(--width-graphic-image-8fedc2);height:var(--height-graphic-image-8fedc2);display:inline-block;& [data-part=\"graphic-img\"]{width:var(--width-graphic-image-8fedc2);height:var(--height-graphic-image-8fedc2);max-width:100%;max-height:100%;}" },
|
|
58
58
|
modifiers: {
|
|
59
59
|
grow: {
|
|
60
|
-
true: { name: "
|
|
60
|
+
true: { name: "43mp69", styles: "width:100%;& [data-part=\"graphic-img\"]{width:100%;}" }
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}, "graphic-image-8fedc2");
|
|
@@ -16,10 +16,10 @@ exports.svgStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
16
16
|
/** sets width and height of svg element */
|
|
17
17
|
size: '',
|
|
18
18
|
},
|
|
19
|
-
base: { name: "
|
|
19
|
+
base: { name: "26zkyx", styles: "box-sizing:border-box;display:inline-block;> svg{display:block;width:var(--width-svg-728c60, var(--size-svg-728c60));height:var(--height-svg-728c60, var(--size-svg-728c60));}" },
|
|
20
20
|
modifiers: {
|
|
21
21
|
shouldMirror: {
|
|
22
|
-
true: { name: "
|
|
22
|
+
true: { name: "3g0drz", styles: "transform:scaleX(-1);" }
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}, "svg-728c60");
|
|
@@ -59,7 +59,7 @@ exports.systemIconStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
59
59
|
accentColor: '',
|
|
60
60
|
backgroundColor: '',
|
|
61
61
|
},
|
|
62
|
-
base: { name: "
|
|
62
|
+
base: { name: "3r3st5", styles: "box-sizing:border-box;& svg{width:var(--width-svg-728c60, var(--size-svg-728c60, var(--cnvs-sys-space-x6)));height:var(--height-svg-728c60, var(--size-svg-728c60, var(--cnvs-sys-space-x6)));}& .wd-icon-fill{fill:var(--color-system-icon-3a4847, var(--cnvs-sys-color-icon-default));}& .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentColor-system-icon-3a4847, var(--color-system-icon-3a4847, var(--cnvs-sys-color-fg-default)));}& .wd-icon-background{fill:var(--backgroundColor-system-icon-3a4847, transparent);}&:where(:hover, .hover) .wd-icon-fill{fill:var(--fillHover-02493f, var(--colorHover-02493f, var(--color-system-icon-3a4847, var(--cnvs-sys-color-fg-default))));}&:where(:hover, .hover) .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentHover-02493f, var(--colorHover-02493f, var(--accentColor-system-icon-3a4847, var(--color-system-icon-3a4847, var(--cnvs-sys-color-fg-default)))));}&:where(:hover, .hover) .wd-icon-background{fill:var(--backgroundHover-02493f, var(--backgroundColor-system-icon-3a4847, transparent));}@media (prefers-contrast: more){.wd-icon-fill, .wd-icon-accent{color:currentColor;fill:currentColor;}}" },
|
|
63
63
|
modifiers: {}
|
|
64
64
|
}, "system-icon-3a4847");
|
|
65
65
|
exports.SystemIcon = (0, common_1.createComponent)('span')({
|
|
@@ -24,7 +24,7 @@ exports.systemIconCircleStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
24
24
|
background: '',
|
|
25
25
|
color: '',
|
|
26
26
|
},
|
|
27
|
-
base: { name: "
|
|
27
|
+
base: { name: "2ru0bo", styles: "box-sizing:border-box;background:var(--background-system-icon-circle-39dde7, var(--cnvs-sys-color-bg-alt-soft));display:flex;align-items:center;justify-content:center;padding:var(--cnvs-sys-space-zero);border:none;border-radius:var(--cnvs-sys-shape-round);overflow:hidden;width:var(--containerSize-system-icon-circle-39dde7, var(--cnvs-sys-space-x10));height:var(--containerSize-system-icon-circle-39dde7, var(--cnvs-sys-space-x10));--size-svg-728c60:calc(var(--containerSize-system-icon-circle-39dde7, var(--cnvs-sys-space-x10)) * 0.625);--color-system-icon-3a4847:var(--color-system-icon-circle-39dde7);& img{width:100%;height:100%;}" }
|
|
28
28
|
}, "system-icon-circle-39dde7");
|
|
29
29
|
exports.SystemIconCircle = (0, common_1.createComponent)('span')({
|
|
30
30
|
displayName: 'SystemIconCircle',
|