@pega/cosmos-react-core 3.0.0-dev.12.0 → 3.0.0-dev.13.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.
Files changed (111) hide show
  1. package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
  2. package/lib/components/AppShell/AppHeader.js +13 -3
  3. package/lib/components/AppShell/AppHeader.js.map +1 -1
  4. package/lib/components/AppShell/AppShell.d.ts.map +1 -1
  5. package/lib/components/AppShell/AppShell.js +8 -4
  6. package/lib/components/AppShell/AppShell.js.map +1 -1
  7. package/lib/components/AppShell/AppShell.styles.d.ts +1 -0
  8. package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
  9. package/lib/components/AppShell/AppShell.styles.js +62 -77
  10. package/lib/components/AppShell/AppShell.styles.js.map +1 -1
  11. package/lib/components/AppShell/AppShell.types.d.ts +3 -0
  12. package/lib/components/AppShell/AppShell.types.d.ts.map +1 -1
  13. package/lib/components/AppShell/AppShell.types.js.map +1 -1
  14. package/lib/components/AppShell/AppShellContext.d.ts +3 -1
  15. package/lib/components/AppShell/AppShellContext.d.ts.map +1 -1
  16. package/lib/components/AppShell/AppShellContext.js +3 -1
  17. package/lib/components/AppShell/AppShellContext.js.map +1 -1
  18. package/lib/components/CompositeInput/CompositeInput.d.ts +5 -0
  19. package/lib/components/CompositeInput/CompositeInput.d.ts.map +1 -0
  20. package/lib/components/CompositeInput/CompositeInput.js +59 -0
  21. package/lib/components/CompositeInput/CompositeInput.js.map +1 -0
  22. package/lib/components/CompositeInput/CompositeInput.styles.d.ts +5 -0
  23. package/lib/components/CompositeInput/CompositeInput.styles.d.ts.map +1 -0
  24. package/lib/components/CompositeInput/CompositeInput.styles.js +54 -0
  25. package/lib/components/CompositeInput/CompositeInput.styles.js.map +1 -0
  26. package/lib/components/CompositeInput/CompositeInput.types.d.ts +50 -0
  27. package/lib/components/CompositeInput/CompositeInput.types.d.ts.map +1 -0
  28. package/lib/components/CompositeInput/CompositeInput.types.js +2 -0
  29. package/lib/components/CompositeInput/CompositeInput.types.js.map +1 -0
  30. package/lib/components/CompositeInput/index.d.ts +3 -0
  31. package/lib/components/CompositeInput/index.d.ts.map +1 -0
  32. package/lib/components/CompositeInput/index.js +2 -0
  33. package/lib/components/CompositeInput/index.js.map +1 -0
  34. package/lib/components/Currency/utils.js +2 -2
  35. package/lib/components/Currency/utils.js.map +1 -1
  36. package/lib/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  37. package/lib/components/FieldGroup/FieldGroup.js +3 -2
  38. package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
  39. package/lib/components/FieldGroup/FieldGroupList.d.ts.map +1 -1
  40. package/lib/components/FieldGroup/FieldGroupList.js +6 -2
  41. package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
  42. package/lib/components/Form/Form.d.ts +5 -16
  43. package/lib/components/Form/Form.d.ts.map +1 -1
  44. package/lib/components/Form/Form.js +14 -11
  45. package/lib/components/Form/Form.js.map +1 -1
  46. package/lib/components/Icon/Icon.d.ts.map +1 -1
  47. package/lib/components/Icon/Icon.js +1 -1
  48. package/lib/components/Icon/Icon.js.map +1 -1
  49. package/lib/components/MultiStepForm/FormProgress.d.ts +10 -0
  50. package/lib/components/MultiStepForm/FormProgress.d.ts.map +1 -0
  51. package/lib/components/{MultiStep/MultiStep.js → MultiStepForm/FormProgress.js} +8 -22
  52. package/lib/components/MultiStepForm/FormProgress.js.map +1 -0
  53. package/lib/components/{MultiStep/MultiStep.styles.d.ts → MultiStepForm/FormProgress.styles.d.ts} +2 -4
  54. package/lib/components/MultiStepForm/FormProgress.styles.d.ts.map +1 -0
  55. package/lib/components/{MultiStep/MultiStep.styles.js → MultiStepForm/FormProgress.styles.js} +2 -4
  56. package/lib/components/MultiStepForm/FormProgress.styles.js.map +1 -0
  57. package/lib/components/MultiStepForm/MultiStepForm.d.ts +9 -0
  58. package/lib/components/MultiStepForm/MultiStepForm.d.ts.map +1 -0
  59. package/lib/components/MultiStepForm/MultiStepForm.js +50 -0
  60. package/lib/components/MultiStepForm/MultiStepForm.js.map +1 -0
  61. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts +49 -0
  62. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts.map +1 -0
  63. package/lib/components/MultiStepForm/MultiStepForm.types.js +2 -0
  64. package/lib/components/MultiStepForm/MultiStepForm.types.js.map +1 -0
  65. package/lib/components/MultiStepForm/index.d.ts +2 -0
  66. package/lib/components/MultiStepForm/index.d.ts.map +1 -0
  67. package/lib/components/MultiStepForm/index.js +2 -0
  68. package/lib/components/MultiStepForm/index.js.map +1 -0
  69. package/lib/components/Number/NumberDisplay.d.ts +0 -5
  70. package/lib/components/Number/NumberDisplay.d.ts.map +1 -1
  71. package/lib/components/Number/NumberDisplay.js +8 -12
  72. package/lib/components/Number/NumberDisplay.js.map +1 -1
  73. package/lib/components/Number/NumberInput.d.ts.map +1 -1
  74. package/lib/components/Number/NumberInput.js +8 -5
  75. package/lib/components/Number/NumberInput.js.map +1 -1
  76. package/lib/components/Number/utils.d.ts +1 -4
  77. package/lib/components/Number/utils.d.ts.map +1 -1
  78. package/lib/components/Number/utils.js +5 -3
  79. package/lib/components/Number/utils.js.map +1 -1
  80. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  81. package/lib/components/SearchInput/SearchInput.js +5 -1
  82. package/lib/components/SearchInput/SearchInput.js.map +1 -1
  83. package/lib/components/Tabs/Tab.d.ts.map +1 -1
  84. package/lib/components/Tabs/Tab.js +0 -1
  85. package/lib/components/Tabs/Tab.js.map +1 -1
  86. package/lib/hooks/useI18n.d.ts +11 -7
  87. package/lib/hooks/useI18n.d.ts.map +1 -1
  88. package/lib/i18n/default.d.ts +11 -7
  89. package/lib/i18n/default.d.ts.map +1 -1
  90. package/lib/i18n/default.js +13 -7
  91. package/lib/i18n/default.js.map +1 -1
  92. package/lib/i18n/i18n.d.ts +22 -14
  93. package/lib/i18n/i18n.d.ts.map +1 -1
  94. package/lib/index.d.ts +2 -2
  95. package/lib/index.d.ts.map +1 -1
  96. package/lib/index.js +2 -2
  97. package/lib/index.js.map +1 -1
  98. package/package.json +1 -1
  99. package/lib/components/MultiStep/MultiStep.d.ts +0 -6
  100. package/lib/components/MultiStep/MultiStep.d.ts.map +0 -1
  101. package/lib/components/MultiStep/MultiStep.js.map +0 -1
  102. package/lib/components/MultiStep/MultiStep.styles.d.ts.map +0 -1
  103. package/lib/components/MultiStep/MultiStep.styles.js.map +0 -1
  104. package/lib/components/MultiStep/MultiStep.types.d.ts +0 -36
  105. package/lib/components/MultiStep/MultiStep.types.d.ts.map +0 -1
  106. package/lib/components/MultiStep/MultiStep.types.js +0 -2
  107. package/lib/components/MultiStep/MultiStep.types.js.map +0 -1
  108. package/lib/components/MultiStep/index.d.ts +0 -3
  109. package/lib/components/MultiStep/index.d.ts.map +0 -1
  110. package/lib/components/MultiStep/index.js +0 -2
  111. package/lib/components/MultiStep/index.js.map +0 -1
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OA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AI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\nexport { default as Actions } from './components/Actions';\nexport * from './components/Actions';\nexport { default as AppShell } from './components/AppShell';\nexport * from './components/AppShell';\nexport { default as Avatar } from './components/Avatar';\nexport * from './components/Avatar';\nexport { default as Backdrop } from './components/Backdrop';\nexport * from './components/Backdrop';\nexport * from './components/Badges';\nexport { default as Banner } from './components/Banner';\nexport * from './components/Banner';\nexport * from './components/Boolean';\nexport { default as Breadcrumbs } from './components/Breadcrumbs';\nexport * from './components/Breadcrumbs';\nexport { default as Button } from './components/Button';\nexport * from './components/Button';\nexport { default as Card } from './components/Card';\nexport * from './components/Card';\nexport { default as Checkbox } from './components/Checkbox';\nexport * from './components/Checkbox';\nexport { default as CheckboxGroup } from './components/CheckboxGroup';\nexport { default as ColorPicker } from './components/ColorPicker';\nexport * from './components/ColorPicker';\nexport { default as ComboBox } from './components/ComboBox';\nexport * from './components/ComboBox';\nexport { default as Configuration } from './components/Configuration';\nexport * from './components/Configuration';\nexport * from './components/CreditCard';\nexport * from './components/Currency';\nexport * from './components/DateTime';\nexport { default as Drawer } from './components/Drawer';\nexport * from './components/Drawer';\nexport * from './components/Email';\nexport { default as EmojiPicker } from './components/EmojiPicker';\nexport * from './components/EmojiPicker';\nexport { default as EmptyState } from './components/EmptyState';\nexport * from './components/EmptyState';\nexport { default as ErrorState } from './components/ErrorState';\nexport * from './components/ErrorState';\nexport { default as ExpandCollapse } from './components/ExpandCollapse';\nexport * from './components/ExpandCollapse';\nexport { default as FieldGroup } from './components/FieldGroup';\nexport * from './components/FieldGroup';\nexport { default as FieldValueList } from './components/FieldValueList';\nexport * from './components/FieldValueList';\nexport * from './components/File';\nexport { default as Flex } from './components/Flex';\nexport * from './components/Flex';\nexport { default as Form } from './components/Form';\nexport * from './components/Form';\nexport { default as FormControl } from './components/FormControl';\nexport * from './components/FormControl';\nexport { default as FormField } from './components/FormField';\nexport * from './components/FormField';\nexport { default as Grid } from './components/Grid';\nexport * from './components/Grid';\nexport { default as HTML } from './components/HTML';\nexport * from './components/HTML';\nexport { default as Icon } from './components/Icon';\nexport * from './components/Icon';\nexport { default as IconPicker } from './components/IconPicker';\nexport * from './components/IconPicker';\nexport { default as Image } from './components/Image';\nexport * from './components/Image';\nexport { default as Input } from './components/Input';\nexport * from './components/Input';\nexport { default as Label } from './components/Label';\nexport * from './components/Label';\nexport { default as Lightbox } from './components/Lightbox';\nexport * from './components/Lightbox';\nexport { default as Link } from './components/Link';\nexport * from './components/Link';\nexport * from './components/List';\nexport { default as ListToolbar } from './components/ListToolbar';\nexport * from './components/ListToolbar';\nexport * from './components/Location';\nexport { default as Mark } from './components/Mark';\nexport * from './components/Mark';\nexport { default as Menu } from './components/Menu';\nexport * from './components/Menu';\nexport { default as MenuButton } from './components/MenuButton';\nexport * from './components/MenuButton';\nexport { default as MetaList } from './components/MetaList';\nexport * from './components/MetaList';\nexport { default as Modal } from './components/Modal';\nexport * from './components/Modal';\nexport { default as MultiStep } from './components/MultiStep';\nexport * from './components/MultiStep';\nexport * from './components/Number';\nexport * from './components/PageTemplates';\nexport { default as Pagination } from './components/Pagination';\nexport * from './components/Pagination';\nexport * from './components/Paragraph';\nexport * from './components/Phone';\nexport { default as Popover } from './components/Popover';\nexport * from './components/Popover';\nexport { default as Progress } from './components/Progress';\nexport * from './components/Progress';\nexport { default as RadioButton } from './components/RadioButton';\nexport * from './components/RadioButton';\nexport { default as RadioButtonGroup } from './components/RadioButtonGroup';\nexport { default as RadioCheck } from './components/RadioCheck';\nexport * from './components/RadioCheck';\nexport { default as RadioCheckGroup } from './components/RadioCheckGroup';\nexport * from './components/RadioCheckGroup';\nexport { default as Rating } from './components/Rating';\nexport * from './components/Rating';\nexport { default as SearchInput } from './components/SearchInput';\nexport * from './components/SearchInput';\nexport { default as Select } from './components/Select';\nexport * from './components/Select';\nexport { default as Sentiment } from './components/Sentiment';\nexport * from './components/Sentiment';\nexport * from './components/Skeleton';\nexport { default as Slider } from './components/Slider';\nexport * from './components/Slider';\nexport { default as SummaryItem } from './components/SummaryItem';\nexport * from './components/SummaryItem';\nexport { default as SummaryList } from './components/SummaryList';\nexport * from './components/SummaryList';\nexport { default as Switch } from './components/Switch';\nexport * from './components/Switch';\nexport { default as Table } from './components/Table';\nexport * from './components/Table';\nexport { default as Tabs } from './components/Tabs';\nexport * from './components/Tabs';\nexport { default as Text } from './components/Text';\nexport * from './components/Text';\nexport { default as TextArea } from './components/TextArea';\nexport * from './components/TextArea';\nexport { default as Toaster } from './components/Toaster';\nexport * from './components/Toaster';\nexport { default as Tooltip } from './components/Tooltip';\nexport * from './components/Tooltip';\nexport { default as Tree } from './components/Tree';\nexport * from './components/Tree';\nexport * from './components/URL';\nexport { default as VisuallyHiddenText } from './components/VisuallyHiddenText';\nexport * from './hooks';\nexport * from './i18n';\nexport * from './styles';\nexport * from './theme';\nexport * from './types';\nexport * from './utils';\n"]}
1
+ {"version":3,"file":"index.js","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S,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\nexport { default as Actions } from './components/Actions';\nexport * from './components/Actions';\nexport { default as AppShell } from './components/AppShell';\nexport * from './components/AppShell';\nexport { default as Avatar } from './components/Avatar';\nexport * from './components/Avatar';\nexport { default as Backdrop } from './components/Backdrop';\nexport * from './components/Backdrop';\nexport * from './components/Badges';\nexport { default as Banner } from './components/Banner';\nexport * from './components/Banner';\nexport * from './components/Boolean';\nexport { default as Breadcrumbs } from './components/Breadcrumbs';\nexport * from './components/Breadcrumbs';\nexport { default as Button } from './components/Button';\nexport * from './components/Button';\nexport { default as Card } from './components/Card';\nexport * from './components/Card';\nexport { default as Checkbox } from './components/Checkbox';\nexport * from './components/Checkbox';\nexport { default as CheckboxGroup } from './components/CheckboxGroup';\nexport { default as ColorPicker } from './components/ColorPicker';\nexport * from './components/ColorPicker';\nexport { default as ComboBox } from './components/ComboBox';\nexport * from './components/ComboBox';\nexport * from './components/CompositeInput';\nexport { default as Configuration } from './components/Configuration';\nexport * from './components/Configuration';\nexport * from './components/CreditCard';\nexport * from './components/Currency';\nexport * from './components/DateTime';\nexport { default as Drawer } from './components/Drawer';\nexport * from './components/Drawer';\nexport * from './components/Email';\nexport { default as EmojiPicker } from './components/EmojiPicker';\nexport * from './components/EmojiPicker';\nexport { default as EmptyState } from './components/EmptyState';\nexport * from './components/EmptyState';\nexport { default as ErrorState } from './components/ErrorState';\nexport * from './components/ErrorState';\nexport { default as ExpandCollapse } from './components/ExpandCollapse';\nexport * from './components/ExpandCollapse';\nexport { default as FieldGroup } from './components/FieldGroup';\nexport * from './components/FieldGroup';\nexport { default as FieldValueList } from './components/FieldValueList';\nexport * from './components/FieldValueList';\nexport * from './components/File';\nexport { default as Flex } from './components/Flex';\nexport * from './components/Flex';\nexport { default as Form } from './components/Form';\nexport * from './components/Form';\nexport { default as FormControl } from './components/FormControl';\nexport * from './components/FormControl';\nexport { default as FormField } from './components/FormField';\nexport * from './components/FormField';\nexport { default as Grid } from './components/Grid';\nexport * from './components/Grid';\nexport { default as HTML } from './components/HTML';\nexport * from './components/HTML';\nexport { default as Icon } from './components/Icon';\nexport * from './components/Icon';\nexport { default as IconPicker } from './components/IconPicker';\nexport * from './components/IconPicker';\nexport { default as Image } from './components/Image';\nexport * from './components/Image';\nexport { default as Input } from './components/Input';\nexport * from './components/Input';\nexport { default as Label } from './components/Label';\nexport * from './components/Label';\nexport { default as Lightbox } from './components/Lightbox';\nexport * from './components/Lightbox';\nexport { default as Link } from './components/Link';\nexport * from './components/Link';\nexport * from './components/List';\nexport { default as ListToolbar } from './components/ListToolbar';\nexport * from './components/ListToolbar';\nexport * from './components/Location';\nexport { default as Mark } from './components/Mark';\nexport * from './components/Mark';\nexport { default as Menu } from './components/Menu';\nexport * from './components/Menu';\nexport { default as MenuButton } from './components/MenuButton';\nexport * from './components/MenuButton';\nexport { default as MetaList } from './components/MetaList';\nexport * from './components/MetaList';\nexport { default as Modal } from './components/Modal';\nexport * from './components/Modal';\nexport { default as MultiStepForm } from './components/MultiStepForm';\nexport * from './components/Number';\nexport * from './components/PageTemplates';\nexport { default as Pagination } from './components/Pagination';\nexport * from './components/Pagination';\nexport * from './components/Paragraph';\nexport * from './components/Phone';\nexport { default as Popover } from './components/Popover';\nexport * from './components/Popover';\nexport { default as Progress } from './components/Progress';\nexport * from './components/Progress';\nexport { default as RadioButton } from './components/RadioButton';\nexport * from './components/RadioButton';\nexport { default as RadioButtonGroup } from './components/RadioButtonGroup';\nexport { default as RadioCheck } from './components/RadioCheck';\nexport * from './components/RadioCheck';\nexport { default as RadioCheckGroup } from './components/RadioCheckGroup';\nexport * from './components/RadioCheckGroup';\nexport { default as Rating } from './components/Rating';\nexport * from './components/Rating';\nexport { default as SearchInput } from './components/SearchInput';\nexport * from './components/SearchInput';\nexport { default as Select } from './components/Select';\nexport * from './components/Select';\nexport { default as Sentiment } from './components/Sentiment';\nexport * from './components/Sentiment';\nexport * from './components/Skeleton';\nexport { default as Slider } from './components/Slider';\nexport * from './components/Slider';\nexport { default as SummaryItem } from './components/SummaryItem';\nexport * from './components/SummaryItem';\nexport { default as SummaryList } from './components/SummaryList';\nexport * from './components/SummaryList';\nexport { default as Switch } from './components/Switch';\nexport * from './components/Switch';\nexport { default as Table } from './components/Table';\nexport * from './components/Table';\nexport { default as Tabs } from './components/Tabs';\nexport * from './components/Tabs';\nexport { default as Text } from './components/Text';\nexport * from './components/Text';\nexport { default as TextArea } from './components/TextArea';\nexport * from './components/TextArea';\nexport { default as Toaster } from './components/Toaster';\nexport * from './components/Toaster';\nexport { default as Tooltip } from './components/Tooltip';\nexport * from './components/Tooltip';\nexport { default as Tree } from './components/Tree';\nexport * from './components/Tree';\nexport * from './components/URL';\nexport { default as VisuallyHiddenText } from './components/VisuallyHiddenText';\nexport * from './hooks';\nexport * from './i18n';\nexport * from './styles';\nexport * from './theme';\nexport * from './types';\nexport * from './utils';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-core",
3
- "version": "3.0.0-dev.12.0",
3
+ "version": "3.0.0-dev.13.0",
4
4
  "description": "Cosmos is a visual design system and UI component collection. Its goal is to empower application developers in their pursuit to create engaging and rewarding user experiences.",
5
5
  "author": "Pegasystems",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -1,6 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ForwardProps } from '../../types';
3
- import MultiStepProps from './MultiStep.types';
4
- declare const MultiStep: FunctionComponent<MultiStepProps & ForwardProps>;
5
- export default MultiStep;
6
- //# sourceMappingURL=MultiStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAc3C,OAAO,cAAc,MAAM,mBAAmB,CAA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C,KAAK,EAAE,CAAC;IAC7D,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,CACL,MAAC,IAAI,IACH,EAAE,EAAE,eAAe,EACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE;YACT,SAAS,EAAE,QAAQ;YACnB,GAAG,EAAE,CAAC;SACP,KACG,SAAS,aAEb,KAAC,YAAY,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAI,EACpD,KAAC,IAAI,IAAC,GAAG,EAAE,mBAAmB,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,YACvF,WAAW,CAAC,OAAO,GACf,IACF,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["import { remToPx, stripUnit } from 'polished';\nimport {\n forwardRef,\n FunctionComponent,\n PropsWithoutRef,\n CSSProperties,\n useRef,\n useEffect\n} from 'react';\n\nimport { useElement, useTheme } from '../../hooks';\nimport { ForwardProps } from '../../types';\nimport { getFocusables, tryCatch } from '../../utils';\nimport Flex from '../Flex';\nimport Form from '../Form';\nimport Text from '../Text';\nimport Tooltip from '../Tooltip';\n\nimport StyledMultiStep, {\n CurrentStepPopover,\n StepMarker,\n StyledBar,\n StyledFill,\n StyledFormProgress\n} from './MultiStep.styles';\nimport MultiStepProps from './MultiStep.types';\n\nconst FormProgress: FunctionComponent<MultiStepProps & ForwardProps> = ({\n steps,\n currentId,\n ...restProps\n}: MultiStepProps) => {\n const curIdx = steps.findIndex(step => step.id === currentId);\n const curStep = steps[curIdx];\n const fillScale = curIdx / (steps.length - 1);\n\n const [currentStepEl, setCurrentStepEl] = useElement();\n const stepRefs = useRef<HTMLElement[]>([]);\n const theme = useTheme();\n\n let popoverPlacement: 'top' | 'top-start' | 'top-end' = 'top';\n if (curIdx === 0) popoverPlacement = 'top-start';\n else if (curIdx === steps.length - 1) popoverPlacement = 'top-end';\n\n useEffect(() => {\n setCurrentStepEl(stepRefs.current[curIdx]);\n }, [stepRefs.current, curIdx]);\n\n return (\n <StyledFormProgress\n {...restProps}\n container={{ alignItems: 'center' }}\n role='progressbar'\n aria-valuenow={curIdx}\n aria-valuemin={0}\n aria-valuetext={curStep.name}\n aria-valuemax={steps.length}\n >\n <CurrentStepPopover\n show\n target={currentStepEl}\n placement={popoverPlacement}\n strategy='absolute'\n hideOnTargetHidden\n modifiers={[\n {\n name: 'offset',\n options: {\n offset: [\n 0,\n tryCatch(\n () => stripUnit(remToPx(theme.base.spacing)),\n () => 8\n )\n ]\n }\n }\n ]}\n >\n <Text variant='h4'>{curStep.name}</Text>\n </CurrentStepPopover>\n <Flex container={{ justify: 'between', alignItems: 'center' }} item={{ grow: 1 }}>\n {steps.map((step, index) => {\n return (\n <StepMarker\n key={step.id}\n ref={(el: HTMLElement) => {\n stepRefs.current[index] = el;\n }}\n aria-label={step.name}\n aria-describedby={step.id}\n current={index === curIdx}\n depth={step.depth}\n prior={index < curIdx}\n onClick={step.onClick}\n >\n {index !== curIdx && (\n <Tooltip\n id={step.id}\n target={stepRefs.current[index]}\n showDelay='none'\n hideDelay='short'\n portal={false}\n >\n {step.name}\n </Tooltip>\n )}\n </StepMarker>\n );\n })}\n </Flex>\n\n <StyledBar>\n <StyledFill style={{ '--fillScale': fillScale } as CSSProperties} />\n </StyledBar>\n </StyledFormProgress>\n );\n};\n\nconst MultiStep: FunctionComponent<MultiStepProps & ForwardProps> = forwardRef(\n (\n { currentId, steps, ...restProps }: PropsWithoutRef<MultiStepProps>,\n ref: MultiStepProps['ref']\n ) => {\n const multiStepContentRef = useRef(null);\n const currentStep = steps.find(step => step.id === currentId)!;\n\n useEffect(() => {\n const focusableElements = getFocusables(multiStepContentRef);\n\n if (focusableElements.length) focusableElements[0].focus();\n }, [currentId]);\n\n return (\n <Flex\n as={StyledMultiStep}\n ref={ref}\n container={{\n direction: 'column',\n gap: 3\n }}\n {...restProps}\n >\n <FormProgress steps={steps} currentId={currentId} />\n <Form ref={multiStepContentRef} actions={currentStep.actions} banners={currentStep.banners}>\n {currentStep.content}\n </Form>\n </Flex>\n );\n }\n);\n\nexport default MultiStep;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.styles.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.styles.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,kBAAkB,8TAa9B,CAAC;AAEF,eAAO,MAAM,SAAS,yGAapB,CAAC;AAIH,eAAO,MAAM,UAAU,yGAsBrB,CAAC;AAIH,eAAO,MAAM,kBAAkB,iMAe7B,CAAC;AAIH,eAAO,MAAM,UAAU;aACZ,OAAO;WACT,IAAI,CAAC,OAAO,CAAC;WACb,OAAO;SA6Ed,CAAC;AAIH,QAAA,MAAM,eAAe,yGAAe,CAAC;AAErC,eAAe,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.styles.js","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAY,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;;;;;;;;QAQzC,UAAU;;;;;CAK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;;;;aAKQ,KAAK,KAAK,CAAC;QAChB,CAAC,CAAC,SAAS,UAAU,MAAM,mBAAmB,UAAU;QACxD,CAAC,CAAC,SAAS,UAAU,MAAM,cAAc,UAAU;cAC7C,KAAK,KAAK,CAAC;QACjB,CAAC,CAAC,SAAS,UAAU,MAAM,mBAAmB,UAAU;QACxD,CAAC,CAAC,SAAS,UAAU,MAAM,cAAc,UAAU;QACnD,IAAI,CAAC,UAAU,CAAC;;;eAGT,KAAK,KAAK,CAAC;QAChB,CAAC,CAAC,SAAS,eAAe,MAAM,mBAAmB,UAAU;QAC7D,CAAC,CAAC,SAAS,eAAe,MAAM,cAAc,UAAU;gBAClD,KAAK,KAAK,CAAC;QACjB,CAAC,CAAC,SAAS,eAAe,MAAM,mBAAmB,UAAU;QAC7D,CAAC,CAAC,SAAS,eAAe,MAAM,cAAc,UAAU;UACxD,IAAI,CAAC,eAAe,CAAC;;;;;;;;;;;;;;oBAcX,WAAW;;GAE5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE3C,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC;AAErC,eAAe,eAAe,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\nimport { size } from 'polished';\n\nimport Flex from '../Flex';\nimport { defaultThemeProp } from '../../theme';\nimport BareButton from '../Button/BareButton';\nimport Popover from '../Popover';\nimport { StyledText } from '../Text';\nimport { calculateFontSize, FontSize } from '../../styles';\nimport { useDirection } from '../../hooks';\n\nimport { Step } from './MultiStep.types';\n\nexport const CurrentStepPopover = styled(Popover)`\n max-width: 100%;\n background-color: transparent;\n\n ::after {\n filter: none;\n }\n\n & > ${StyledText} {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n`;\n\nexport const StyledBar = styled.div(({ theme }) => {\n const {\n base: {\n palette: { 'border-line': borderColor }\n }\n } = theme;\n\n return css`\n position: absolute;\n width: 100%;\n height: 0.0625rem;\n background: ${borderColor};\n `;\n});\n\nStyledBar.defaultProps = defaultThemeProp;\n\nexport const StyledFill = styled.div(({ theme }) => {\n const {\n base: {\n animation: {\n speed: animationSpeed,\n timing: { ease: animationTiming }\n },\n palette: { interactive }\n }\n } = theme;\n\n const { ltr } = useDirection();\n\n return css`\n position: absolute;\n width: 100%;\n height: 100%;\n background: ${interactive};\n transition: all calc(2 * ${animationSpeed}) ${animationTiming};\n transform: scaleX(var(--fillScale));\n transform-origin: ${ltr ? 0 : '100%'} 0;\n `;\n});\n\nStyledFill.defaultProps = defaultThemeProp;\n\nexport const StyledFormProgress = styled(Flex)(({ theme }) => {\n const {\n base: { spacing, 'font-size': fontSize, 'font-scale': fontScale },\n components: {\n text: {\n h4: { 'font-size': h4fontSize }\n }\n }\n } = theme;\n const fontSizes = calculateFontSize(fontSize, fontScale);\n\n return css`\n position: relative;\n padding-block-start: calc(${spacing} * 2 + ${fontSizes[h4fontSize as FontSize]} * 1.35);\n `;\n});\n\nStyledFormProgress.defaultProps = defaultThemeProp;\n\nexport const StepMarker = styled(BareButton)<{\n current: boolean;\n depth: Step['depth'];\n prior: boolean;\n}>(({ current, depth, prior, theme }) => {\n const {\n base: {\n 'font-size': fontSize,\n 'font-scale': fontScale,\n animation: {\n speed: animationSpeed,\n timing: { ease: animationTiming }\n },\n palette: { interactive, 'primary-background': primaryBackground },\n shadow: { focus: focusShadow },\n 'hit-area': { 'mouse-min': buttonSize, 'finger-min': touchButtonSize }\n },\n components: {\n 'form-control': { 'border-color': borderColor }\n }\n } = theme;\n const { m: stepMarkerSize } = calculateFontSize(fontSize, fontScale);\n const smallStepMarkerSize = `calc(${stepMarkerSize} / 1.5)`;\n\n return css`\n display: block;\n position: relative;\n z-index: 1;\n ${size(depth === 1 ? smallStepMarkerSize : stepMarkerSize)}\n border-radius: 100%;\n background: ${primaryBackground};\n border: 0.0625rem solid ${borderColor};\n transition: all calc(2 * ${animationSpeed}) ${animationTiming};\n\n ${current &&\n css`\n background: ${interactive};\n border-color: ${interactive};\n `}\n\n ${prior &&\n css`\n border-color: ${interactive};\n `}\n\n ::after {\n content: '';\n position: absolute;\n top: ${depth === 1\n ? `calc((${buttonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${buttonSize} - ${stepMarkerSize}) / -2) `};\n left: ${depth === 1\n ? `calc((${buttonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${buttonSize} - ${stepMarkerSize}) / -2) `};\n ${size(buttonSize)}\n\n @media (pointer: coarse) {\n top: ${depth === 1\n ? `calc((${touchButtonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${touchButtonSize} - ${stepMarkerSize}) / -2) `};\n left: ${depth === 1\n ? `calc((${touchButtonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${touchButtonSize} - ${stepMarkerSize}) / -2) `};\n ${size(touchButtonSize)}\n }\n }\n\n &:first-child::after {\n left: 0;\n }\n\n &:last-child::after {\n left: unset;\n right: 0;\n }\n\n :focus {\n box-shadow: ${focusShadow};\n }\n `;\n});\n\nStepMarker.defaultProps = defaultThemeProp;\n\nconst StyledMultiStep = styled.div``;\n\nexport default StyledMultiStep;\n"]}
@@ -1,36 +0,0 @@
1
- import { MouseEventHandler, ReactNode, Ref } from 'react';
2
- import { BaseProps, NoChildrenProp } from '../../types';
3
- export interface Step {
4
- /** The id that is referenced by the Multi Step currentId prop. */
5
- id: string;
6
- /** The displayed name of the step. */
7
- name: string;
8
- /**
9
- * Determines the size of the step indicator. Depth 0 is larger than depth 1.
10
- * @default 0
11
- */
12
- depth?: 0 | 1;
13
- /** Applies styles for the completed state. */
14
- complete?: boolean;
15
- /** Applies styles for the required state. */
16
- required?: boolean;
17
- /** Applies styles for the disabled state. */
18
- disabled?: boolean;
19
- /** A set of Action Buttons to render for the step. */
20
- actions?: ReactNode;
21
- /** Banners to render for the step */
22
- banners?: ReactNode;
23
- /** Content to render for the step. */
24
- content?: ReactNode;
25
- /** Callback function that is called when a step marker is clicked. */
26
- onClick?: MouseEventHandler;
27
- }
28
- export default interface MultiStepProps extends BaseProps, NoChildrenProp {
29
- /** Flat array of objects describing each step. */
30
- steps: Step[];
31
- /** Sets the current step. */
32
- currentId: string;
33
- /** Ref for the wrapping element. */
34
- ref?: Ref<HTMLDivElement>;
35
- }
36
- //# sourceMappingURL=MultiStep.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.types.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,IAAI;IACnB,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sCAAsC;IACtC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IACvE,kDAAkD;IAClD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MultiStep.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.types.js","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.types.ts"],"names":[],"mappings":"","sourcesContent":["import { MouseEventHandler, ReactNode, Ref } from 'react';\n\nimport { BaseProps, NoChildrenProp } from '../../types';\n\nexport interface Step {\n /** The id that is referenced by the Multi Step currentId prop. */\n id: string;\n /** The displayed name of the step. */\n name: string;\n /**\n * Determines the size of the step indicator. Depth 0 is larger than depth 1.\n * @default 0\n */\n depth?: 0 | 1;\n /** Applies styles for the completed state. */\n complete?: boolean;\n /** Applies styles for the required state. */\n required?: boolean;\n /** Applies styles for the disabled state. */\n disabled?: boolean;\n /** A set of Action Buttons to render for the step. */\n actions?: ReactNode;\n /** Banners to render for the step */\n banners?: ReactNode;\n /** Content to render for the step. */\n content?: ReactNode;\n /** Callback function that is called when a step marker is clicked. */\n onClick?: MouseEventHandler;\n}\n\nexport default interface MultiStepProps extends BaseProps, NoChildrenProp {\n /** Flat array of objects describing each step. */\n steps: Step[];\n /** Sets the current step. */\n currentId: string;\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLDivElement>;\n}\n"]}
@@ -1,3 +0,0 @@
1
- export { default } from './MultiStep';
2
- export { default as MultiStepProps, Step } from './MultiStep.types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { default } from './MultiStep';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MultiStep/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export { default } from './MultiStep';\nexport { default as MultiStepProps, Step } from './MultiStep.types';\n"]}