@pexip/components 20.0.0 → 20.2.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/CHANGELOG.md +204 -0
- package/api-docs/README.mdx +11 -2
- package/api-docs/enumerations/TestId.mdx +1 -0
- package/api-docs/functions/announce.mdx +1 -1
- package/api-docs/functions/onEnter.mdx +3 -3
- package/api-docs/functions/sizeToPadding.mdx +16 -6
- package/api-docs/functions/useBoundingRect.mdx +42 -0
- package/api-docs/functions/useBreakpointChange.mdx +1 -1
- package/api-docs/functions/useFocusFrom.mdx +2 -2
- package/api-docs/functions/useFocusFromOpened.mdx +1 -1
- package/api-docs/functions/useGroupedPagesNav.mdx +2 -2
- package/api-docs/functions/useInput.mdx +4 -2
- package/api-docs/functions/useModal.mdx +2 -2
- package/api-docs/functions/useModalHandle.mdx +1 -1
- package/api-docs/functions/useModalWithoutPreventScroll.mdx +2 -2
- package/api-docs/functions/useMultistepIndicator.mdx +24 -8
- package/api-docs/functions/useOutOfViewNavigation.mdx +4 -4
- package/api-docs/functions/useScrollIntoView.mdx +3 -3
- package/api-docs/functions/useTabs.mdx +1 -1
- package/api-docs/functions/withColorScheme.mdx +3 -3
- package/api-docs/functions/withTabName.mdx +2 -2
- package/api-docs/functions/withTransition.mdx +6 -4
- package/api-docs/interfaces/FullSizeWindowCommonProps.mdx +4 -4
- package/api-docs/interfaces/IconCollection.mdx +7 -0
- package/api-docs/interfaces/IconSource.mdx +3 -3
- package/api-docs/interfaces/LoadingBoxProps.mdx +5 -3
- package/api-docs/interfaces/ModalHandle.mdx +1 -1
- package/api-docs/interfaces/MultistepItem.mdx +1 -1
- package/api-docs/interfaces/StatCardRowData.mdx +5 -5
- package/api-docs/interfaces/ToastProps.mdx +3 -3
- package/api-docs/interfaces/VideoHandle.mdx +2 -2
- package/api-docs/interfaces/WithTransitionProps.mdx +1 -0
- package/api-docs/type-aliases/ActivityCardAction.mdx +1 -1
- package/api-docs/type-aliases/AriaMenuItem.mdx +9 -1
- package/api-docs/type-aliases/AriaMenuProps.mdx +5 -1
- package/api-docs/type-aliases/AriaSubMenu.mdx +27 -0
- package/api-docs/type-aliases/AriaSubMenuContentHelpers.mdx +13 -0
- package/api-docs/type-aliases/BreadcrumbItem.mdx +1 -1
- package/api-docs/type-aliases/ClickEventHandler.mdx +1 -1
- package/api-docs/type-aliases/MenuAction.mdx +1 -1
- package/api-docs/type-aliases/MenuItem.mdx +5 -4
- package/api-docs/type-aliases/MultiselectCoreProps.mdx +3 -0
- package/api-docs/type-aliases/MultiselectOption.mdx +1 -1
- package/api-docs/type-aliases/NotificationToastMessage.mdx +1 -1
- package/api-docs/type-aliases/NotificationTooltipPosition.mdx +3 -1
- package/api-docs/type-aliases/NotificationTooltipProps.mdx +3 -0
- package/api-docs/type-aliases/Option.mdx +1 -1
- package/api-docs/type-aliases/SelectProps.mdx +3 -3
- package/api-docs/type-aliases/TagItem.mdx +2 -2
- package/api-docs/variables/AriaMenu.mdx +3 -1
- package/api-docs/variables/Draggable.mdx +51 -0
- package/api-docs/variables/KEYBOARD_EVENT_KEY.mdx +16 -0
- package/api-docs/variables/MultiselectCore.mdx +27 -0
- package/api-docs/variables/MultistepIndicator.mdx +1 -0
- package/api-docs/variables/PreferenceInput.mdx +1 -0
- package/api-docs/variables/Select.mdx +2 -2
- package/api-docs/variables/Sheet.mdx +9 -1
- package/api-docs/variables/Toast.mdx +3 -1
- package/api-docs/variables/ToggleSwitchDisplay.mdx +16 -0
- package/api-docs/variables/buttonVariantsValues.mdx +3 -0
- package/design-tokens/mixins/_focus.scss +54 -10
- package/design-tokens/mixins/media-queries.scss +12 -0
- package/design-tokens/variables.legacy.scss +8 -0
- package/dist/components-no-global-styles.css +1 -1
- package/dist/components.cjs +2 -2
- package/dist/components.css +1 -1
- package/dist/components.js +6253 -8056
- package/dist/types/design-tokens/generated/Icons.d.ts +7 -0
- package/dist/types/design-tokens/generated/Icons.d.ts.map +1 -1
- package/dist/types/src/components/elements/ActionsRow/ActionsRow.d.ts +1 -0
- package/dist/types/src/components/elements/ActionsRow/ActionsRow.d.ts.map +1 -1
- package/dist/types/src/components/elements/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/src/components/elements/Draggable/Draggable.view.d.ts +43 -0
- package/dist/types/src/components/elements/Draggable/Draggable.view.d.ts.map +1 -1
- package/dist/types/src/components/elements/Input/Input.d.ts +1 -0
- package/dist/types/src/components/elements/Input/Input.d.ts.map +1 -1
- package/dist/types/src/components/elements/ListBoxLink/ListBoxLink.d.ts +2 -2
- package/dist/types/src/components/elements/ListBoxLink/ListBoxLink.d.ts.map +1 -1
- package/dist/types/src/components/elements/ListLink/ListLink.d.ts +8 -5
- package/dist/types/src/components/elements/ListLink/ListLink.d.ts.map +1 -1
- package/dist/types/src/components/elements/Panel/Panel.d.ts +1 -0
- package/dist/types/src/components/elements/Panel/Panel.d.ts.map +1 -1
- package/dist/types/src/components/elements/Scrollbars/Scrollbars.d.ts +0 -1
- package/dist/types/src/components/elements/Scrollbars/Scrollbars.d.ts.map +1 -1
- package/dist/types/src/components/elements/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/types/src/components/elements/ToggleSwitch/ToggleSwitchDisplay.d.ts +28 -0
- package/dist/types/src/components/elements/ToggleSwitch/ToggleSwitchDisplay.d.ts.map +1 -0
- package/dist/types/src/components/elements/Tooltip/NotificationTooltip.d.ts +1 -2
- package/dist/types/src/components/elements/Tooltip/NotificationTooltip.d.ts.map +1 -1
- package/dist/types/src/components/elements/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.d.ts +3 -1
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.types.d.ts +121 -1
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.types.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenu.d.ts +32 -4
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenu.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuButton.d.ts +3 -6
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuButton.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuItem.d.ts +3 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuItem.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuNavigator.d.ts +22 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuNavigator.d.ts.map +1 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuPopover.d.ts.map +1 -1
- package/dist/types/src/components/modules/Avatar/Avatar.utils.d.ts +2 -2
- package/dist/types/src/components/modules/Avatar/Avatar.utils.d.ts.map +1 -1
- package/dist/types/src/components/modules/Captions/Captions.view.d.ts +1 -0
- package/dist/types/src/components/modules/Captions/Captions.view.d.ts.map +1 -1
- package/dist/types/src/components/modules/CondensedTabs/CondensedTabs.view.d.ts +1 -0
- package/dist/types/src/components/modules/CondensedTabs/CondensedTabs.view.d.ts.map +1 -1
- package/dist/types/src/components/modules/ConfirmationModal/ConfirmationModal.d.ts +2 -0
- package/dist/types/src/components/modules/ConfirmationModal/ConfirmationModal.d.ts.map +1 -1
- package/dist/types/src/components/modules/DropContent/DropContent.d.ts.map +1 -1
- package/dist/types/src/components/modules/Menu/Menu.d.ts +3 -1
- package/dist/types/src/components/modules/Menu/Menu.d.ts.map +1 -1
- package/dist/types/src/components/modules/Menu/types.d.ts +4 -2
- package/dist/types/src/components/modules/Menu/types.d.ts.map +1 -1
- package/dist/types/src/components/modules/Modal/Modal.d.ts +2 -0
- package/dist/types/src/components/modules/Modal/Modal.d.ts.map +1 -1
- package/dist/types/src/components/modules/Multiselect/ConfirmableMultiselect.d.ts.map +1 -1
- package/dist/types/src/components/modules/Multiselect/Multiselect.d.ts +8 -0
- package/dist/types/src/components/modules/Multiselect/Multiselect.d.ts.map +1 -1
- package/dist/types/src/components/modules/Multiselect/MultiselectCore.d.ts.map +1 -1
- package/dist/types/src/components/modules/MultistepIndicator/MultistepIndicator.d.ts +1 -0
- package/dist/types/src/components/modules/MultistepIndicator/MultistepIndicator.d.ts.map +1 -1
- package/dist/types/src/components/modules/MultistepIndicator/MultistepIndicator.utils.d.ts +1 -2
- package/dist/types/src/components/modules/MultistepIndicator/MultistepIndicator.utils.d.ts.map +1 -1
- package/dist/types/src/components/modules/MultistepIndicator/OrdinalText.view.d.ts.map +1 -1
- package/dist/types/src/components/modules/PopOutWindow/PopOutWindow.d.ts.map +1 -1
- package/dist/types/src/components/modules/PopOutWindow/copyStyles.d.ts +23 -0
- package/dist/types/src/components/modules/PopOutWindow/copyStyles.d.ts.map +1 -0
- package/dist/types/src/components/modules/PreferenceInput/PreferenceInput.d.ts +2 -0
- package/dist/types/src/components/modules/PreferenceInput/PreferenceInput.d.ts.map +1 -1
- package/dist/types/src/components/modules/Sheet/Sheet.d.ts +12 -1
- package/dist/types/src/components/modules/Sheet/Sheet.d.ts.map +1 -1
- package/dist/types/src/components/modules/TransitionContainer/withTransition.d.ts +1 -0
- package/dist/types/src/components/modules/TransitionContainer/withTransition.d.ts.map +1 -1
- package/dist/types/src/constants/keyboard.d.ts +2 -0
- package/dist/types/src/constants/keyboard.d.ts.map +1 -1
- package/dist/types/src/exports.d.ts +8 -1
- package/dist/types/src/exports.d.ts.map +1 -1
- package/dist/types/src/hooks/useAriaTooltip.d.ts +9 -3
- package/dist/types/src/hooks/useAriaTooltip.d.ts.map +1 -1
- package/dist/types/src/hooks/useBoundingRect.d.ts +27 -0
- package/dist/types/src/hooks/useBoundingRect.d.ts.map +1 -0
- package/dist/types/src/types/sizes.d.ts +1 -1
- package/dist/types/src/types/sizes.d.ts.map +1 -1
- package/dist/types/src/utils/imageSrc.d.ts +1 -1
- package/dist/types/src/utils/testIds.d.ts +1 -0
- package/dist/types/src/utils/testIds.d.ts.map +1 -1
- package/package.json +15 -26
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testIds.d.ts","sourceRoot":"","sources":["../../../../src/utils/testIds.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IACd,kBAAkB,yBAAyB;IAC3C,gBAAgB,uBAAuB;IACvC,yBAAyB,iCAAiC;IAC1D,gCAAgC,wCAAwC;IACxE,aAAa,mBAAmB;IAChC,6BAA6B,oCAAoC;IACjE,UAAU,gBAAgB;IAC1B,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,QAAQ,cAAc;IACtB,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,kBAAkB,wBAAwB;IAC1C,wBAAwB,+BAA+B;IACvD,wBAAwB,+BAA+B;IACvD,wBAAwB,+BAA+B;IACvD,yBAAyB,gCAAgC;IACzD,uBAAuB,8BAA8B;IACrD,sBAAsB,6BAA6B;IACnD,iBAAiB,sBAAsB;IACvC,uBAAuB,8BAA8B;IACrD,uBAAuB,8BAA8B;IACrD,UAAU,gBAAgB;IAC1B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,UAAU,gBAAgB;IAC1B,gBAAgB,uBAAuB;IACvC,mBAAmB,0BAA0B;IAC7C,GAAG,QAAQ;IACX,YAAY,kBAAkB;IAC9B,QAAQ,cAAc;IAGtB,iBAAiB,wBAAwB;IACzC,kBAAkB,0BAA0B;IAC5C,OAAO,YAAY;IAGnB,mBAAmB,0BAA0B;IAC7C,mBAAmB,0BAA0B;IAC7C,eAAe,sBAAsB;IACrC,iBAAiB,sBAAsB;IACvC,mBAAmB,0BAA0B;CAChD"}
|
|
1
|
+
{"version":3,"file":"testIds.d.ts","sourceRoot":"","sources":["../../../../src/utils/testIds.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IACd,kBAAkB,yBAAyB;IAC3C,gBAAgB,uBAAuB;IACvC,yBAAyB,iCAAiC;IAC1D,gCAAgC,wCAAwC;IACxE,aAAa,mBAAmB;IAChC,sBAAsB,6BAA6B;IACnD,6BAA6B,oCAAoC;IACjE,UAAU,gBAAgB;IAC1B,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,QAAQ,cAAc;IACtB,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,kBAAkB,wBAAwB;IAC1C,wBAAwB,+BAA+B;IACvD,wBAAwB,+BAA+B;IACvD,wBAAwB,+BAA+B;IACvD,yBAAyB,gCAAgC;IACzD,uBAAuB,8BAA8B;IACrD,sBAAsB,6BAA6B;IACnD,iBAAiB,sBAAsB;IACvC,uBAAuB,8BAA8B;IACrD,uBAAuB,8BAA8B;IACrD,UAAU,gBAAgB;IAC1B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,UAAU,gBAAgB;IAC1B,gBAAgB,uBAAuB;IACvC,mBAAmB,0BAA0B;IAC7C,GAAG,QAAQ;IACX,YAAY,kBAAkB;IAC9B,QAAQ,cAAc;IAGtB,iBAAiB,wBAAwB;IACzC,kBAAkB,0BAA0B;IAC5C,OAAO,YAAY;IAGnB,mBAAmB,0BAA0B;IAC7C,mBAAmB,0BAA0B;IAC7C,eAAe,sBAAsB;IACrC,iBAAiB,sBAAsB;IACvC,mBAAmB,0BAA0B;CAChD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pexip/components",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0",
|
|
4
4
|
"homepage": "https://developer.pexip.com",
|
|
5
5
|
"bugs": "https://gitlab.com/pexip/zoo/issues",
|
|
6
6
|
"repository": {
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
"lint": "yarn run -T biome lint",
|
|
63
63
|
"prepack": "yarn clean && yarn build && yarn docs",
|
|
64
64
|
"prettier": "prettier --ignore-path ../../.gitignore \"**/*.+(js|json|ts|tsx)\"",
|
|
65
|
-
"test": "
|
|
65
|
+
"test": "pexip-bundler test",
|
|
66
66
|
"tsc": "tsc --noEmit",
|
|
67
67
|
"typecheck": "yarn tsc --noEmit -p .",
|
|
68
68
|
"typescript-declarations": "tsc --project tsconfig.declarations.json",
|
|
69
69
|
"docs": "typedoc"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@pexip/hooks": "21.0.
|
|
73
|
-
"@pexip/signal": "16.9.
|
|
74
|
-
"@pexip/utils": "17.
|
|
72
|
+
"@pexip/hooks": "21.0.9",
|
|
73
|
+
"@pexip/signal": "16.9.6",
|
|
74
|
+
"@pexip/utils": "17.4.1",
|
|
75
75
|
"@react-aria/button": "^3.14.1",
|
|
76
76
|
"@react-aria/interactions": "^3.25.5",
|
|
77
77
|
"@react-aria/menu": "^3.19.1",
|
|
@@ -91,43 +91,32 @@
|
|
|
91
91
|
"simplebar-react": "^3.2.3",
|
|
92
92
|
"tabbable": "^6.0.0",
|
|
93
93
|
"tslib": "^2.3.0",
|
|
94
|
-
"uuid": "^
|
|
94
|
+
"uuid": "^14.0.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@mdx-js/react": "^1.6.22",
|
|
98
|
-
"@pexip/bundler": "18.
|
|
98
|
+
"@pexip/bundler": "18.3.0",
|
|
99
99
|
"@react-types/button": "^3.9.2",
|
|
100
100
|
"@react-types/menu": "^3.9.7",
|
|
101
101
|
"@react-types/shared": "^3.22.1",
|
|
102
|
-
"@storybook/addon-
|
|
103
|
-
"@storybook/
|
|
104
|
-
"@
|
|
105
|
-
"@
|
|
106
|
-
"@
|
|
107
|
-
"@
|
|
108
|
-
"@testing-library/
|
|
109
|
-
"@testing-library/jest-dom": "^6.4.5",
|
|
110
|
-
"@testing-library/react": "^16.3.0",
|
|
111
|
-
"@testing-library/user-event": "^14.5.2",
|
|
102
|
+
"@storybook/addon-docs": "^10.5.0",
|
|
103
|
+
"@storybook/react": "^10.5.0",
|
|
104
|
+
"@swc/core": "^1.15.33",
|
|
105
|
+
"@testing-library/dom": "^10.4.1",
|
|
106
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
107
|
+
"@testing-library/react": "^16.3.2",
|
|
108
|
+
"@testing-library/user-event": "^14.6.1",
|
|
112
109
|
"@types/classnames": "^2.2.10",
|
|
113
110
|
"@types/csso": "^5.0.0",
|
|
114
|
-
"@types/jest-axe": "^3.5.9",
|
|
115
|
-
"@types/prettier": "^2.0.2",
|
|
116
111
|
"@types/react": "19.2.5",
|
|
117
112
|
"@types/react-dom": "^19.2.3",
|
|
118
|
-
"@types/testing-library__jest-dom": "^5.14.9",
|
|
119
|
-
"@types/testing-library__react-hooks": "^4.0.0",
|
|
120
|
-
"@types/testing-library__user-event": "^4.2.0",
|
|
121
113
|
"@types/uuid": "^8.3.0",
|
|
122
114
|
"builtin-modules": "^3.1.0",
|
|
123
115
|
"identity-obj-proxy": "^3.0.0",
|
|
124
|
-
"jest": "^29.5.12",
|
|
125
|
-
"jest-axe": "^8.0.0",
|
|
126
|
-
"jest-junit": "^16.0.0",
|
|
127
116
|
"prettier": "^3.2.5",
|
|
128
117
|
"react": "19.2.3",
|
|
129
118
|
"react-dom": "19.2.3",
|
|
130
|
-
"storybook": "^
|
|
119
|
+
"storybook": "^10.5.0",
|
|
131
120
|
"svgo": "^3.2.0",
|
|
132
121
|
"typedoc": "^0.28.18",
|
|
133
122
|
"typedoc-plugin-markdown": "^4.11.0",
|