@pexip/components 16.13.0 → 16.15.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 +37 -0
- package/design-tokens/base/variants.variables.scss +1 -0
- package/design-tokens/generated/Icons.ts +8 -0
- package/design-tokens/generated/icons/share-16.json +7 -0
- package/design-tokens/generated/icons/share-16.svg +14 -0
- package/design-tokens/generated/icons/share-16.svg.d.ts +5 -0
- package/design-tokens/generated/icons/share-24.json +7 -0
- package/design-tokens/generated/icons/share-24.svg +14 -0
- package/design-tokens/generated/icons/share-24.svg.d.ts +5 -0
- package/design-tokens/mixins/_focus.scss +55 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +4052 -3815
- package/dist/style.css +1 -1
- package/dist/types/design-tokens/generated/Icons.d.ts +1 -0
- package/dist/types/design-tokens/generated/Icons.d.ts.map +1 -1
- package/dist/types/src/components/elements/BadgeCounter/BadgeCounter.d.ts +3 -0
- package/dist/types/src/components/elements/BadgeCounter/BadgeCounter.d.ts.map +1 -1
- package/dist/types/src/components/elements/Button/Button.d.ts +32 -1
- package/dist/types/src/components/elements/Button/Button.d.ts.map +1 -1
- package/dist/types/src/components/elements/Input/Input.d.ts.map +1 -1
- package/dist/types/src/components/elements/InputLabel/InputLabel.d.ts +1 -1
- package/dist/types/src/components/elements/InputLabel/InputLabel.d.ts.map +1 -1
- package/dist/types/src/components/elements/InteractiveElement/InteractiveElement.d.ts +7 -1
- package/dist/types/src/components/elements/InteractiveElement/InteractiveElement.d.ts.map +1 -1
- package/dist/types/src/components/elements/SimpleButton/SimpleButton.d.ts +15 -0
- package/dist/types/src/components/elements/SimpleButton/SimpleButton.d.ts.map +1 -1
- package/dist/types/src/components/elements/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/src/components/elements/Tooltip/Tooltip.utils.d.ts.map +1 -1
- package/dist/types/src/components/elements/Video/Video.d.ts +1 -0
- package/dist/types/src/components/elements/Video/Video.d.ts.map +1 -1
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.d.ts +86 -0
- package/dist/types/src/components/modules/AriaMenu/AriaMenu.d.ts.map +1 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenu.d.ts +10 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenu.d.ts.map +1 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuButton.d.ts +19 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuButton.d.ts.map +1 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuItem.d.ts +12 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuItem.d.ts.map +1 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuPopover.d.ts +10 -0
- package/dist/types/src/components/modules/AriaMenu/InnerAriaMenuPopover.d.ts.map +1 -0
- package/dist/types/src/components/modules/NumberStepInput/NumberStepInput.d.ts.map +1 -1
- package/dist/types/src/components/modules/RoundIndicator/RoundIndicator.d.ts +1 -1
- package/dist/types/src/components/modules/RoundIndicator/RoundIndicator.d.ts.map +1 -1
- package/dist/types/src/components/modules/Table/TablePagination.d.ts +3 -2
- package/dist/types/src/components/modules/Table/TablePagination.d.ts.map +1 -1
- package/dist/types/src/components/modules/Table/TablePaginationNav.d.ts +1 -1
- package/dist/types/src/components/modules/Table/TablePaginationNav.d.ts.map +1 -1
- package/dist/types/src/components/modules/Table/hooks/useGroupedPagesNav.d.ts +3 -3
- package/dist/types/src/components/modules/Table/hooks/useGroupedPagesNav.d.ts.map +1 -1
- package/dist/types/src/components/modules/UserMenuDropContent/UserMenuDropContent.view.d.ts +2 -0
- package/dist/types/src/components/modules/UserMenuDropContent/UserMenuDropContent.view.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +5 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/types/propTypes.d.ts +1 -1
- package/dist/types/src/types/propTypes.d.ts.map +1 -1
- package/dist/types/src/types/variants.d.ts +2 -0
- package/dist/types/src/types/variants.d.ts.map +1 -1
- package/package.json +15 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 16.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9bd40c5: Changes to the Input to only have one label to be compliant with wcag
|
|
8
|
+
|
|
9
|
+
## 16.14.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- ae7b35d: Adds `share` icon.
|
|
14
|
+
- 4db949e: `AriaMenu`: Add props for placement and offset of the popover
|
|
15
|
+
- bae1125: Always group page buttons when using `PaginationNavGrouped`
|
|
16
|
+
- bae1125: Optional `totalPagesCount` (previously `pageLength`) in
|
|
17
|
+
`TablePagination`.
|
|
18
|
+
- b3497ad: Introduces `BadgeCounter` variants - `info` and `notification`.
|
|
19
|
+
|
|
20
|
+
Default is `notification`
|
|
21
|
+
|
|
22
|
+
- bae1125: Rename `pageLength` to `totalPageCount` for `TablePaginationNav`
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 9046f9d: `NumberStepInput` uses `name` prop to build testid.
|
|
27
|
+
- f087818: Replaced title attribute of UserMenuDropContent by tooltip component
|
|
28
|
+
Added translation for settings button tooltip and settings button aria label
|
|
29
|
+
Added "endBottom" position to Tooltip
|
|
30
|
+
- 53d90af: Introduced new drop down menu component based on React Aria
|
|
31
|
+
(https://react-spectrum.adobe.com/react-aria)
|
|
32
|
+
- e2b4da2: @pexip/components Make Video component ref handle focus on video
|
|
33
|
+
element
|
|
34
|
+
- ec6dac2: Update placholder text color
|
|
35
|
+
- Updated dependencies [bfb8058]
|
|
36
|
+
- @pexip/utils@16.11.0
|
|
37
|
+
- @pexip/hooks@17.1.1
|
|
38
|
+
- @pexip/signal@16.7.0
|
|
39
|
+
|
|
3
40
|
## 16.13.0
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
|
@@ -193,6 +193,8 @@ import IconSettings_16 from './icons/settings-16.svg';
|
|
|
193
193
|
import IconSettings_24 from './icons/settings-24.svg';
|
|
194
194
|
import IconSettingsMeeting_16 from './icons/settings-meeting-16.svg';
|
|
195
195
|
import IconSettingsMeeting_24 from './icons/settings-meeting-24.svg';
|
|
196
|
+
import IconShare_16 from './icons/share-16.svg';
|
|
197
|
+
import IconShare_24 from './icons/share-24.svg';
|
|
196
198
|
import IconShield_16 from './icons/shield-16.svg';
|
|
197
199
|
import IconShield_24 from './icons/shield-24.svg';
|
|
198
200
|
import IconShuffle_16 from './icons/shuffle-16.svg';
|
|
@@ -337,6 +339,7 @@ export interface IconCollection {
|
|
|
337
339
|
IconSend: IconSource;
|
|
338
340
|
IconSettings: IconSource;
|
|
339
341
|
IconSettingsMeeting: IconSource;
|
|
342
|
+
IconShare: IconSource;
|
|
340
343
|
IconShield: IconSource;
|
|
341
344
|
IconShuffle: IconSource;
|
|
342
345
|
IconSpeakerDisabled: IconSource;
|
|
@@ -789,6 +792,11 @@ const collection: IconCollection = {
|
|
|
789
792
|
size24: IconSettingsMeeting_24,
|
|
790
793
|
size32: IconSettingsMeeting_24,
|
|
791
794
|
},
|
|
795
|
+
IconShare: {
|
|
796
|
+
size16: IconShare_16,
|
|
797
|
+
size24: IconShare_24,
|
|
798
|
+
size32: IconShare_24,
|
|
799
|
+
},
|
|
792
800
|
IconShield: {
|
|
793
801
|
size16: IconShield_16,
|
|
794
802
|
size24: IconShield_24,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"iconName": "share-16",
|
|
3
|
+
"name": "16px-share",
|
|
4
|
+
"pascalName": "IconShare_16",
|
|
5
|
+
"resource": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/3e1427d8-e097-4646-9af2-7fe8fd6981ab",
|
|
6
|
+
"graphic": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M4 2C2.34315 2 1 3.34315 1 5V10C1 11.6569 2.34315 13 4 13H7.8249V7.57123L5.38376 8.96908C5.19257 9.08048 4.95764 9.01327 4.83234 8.81162C4.70704 8.60997 4.72649 8.33364 4.87879 8.15875L8.18946 4.34237C8.35364 4.15254 8.64582 4.15254 8.81 4.34237L12.1212 8.15875C12.2735 8.33364 12.293 8.60997 12.1677 8.81162C12.0434 9.01078 11.8101 9.07986 11.6162 8.96908L9.1751 7.57123V13H13C14.6569 13 16 11.6569 16 10V5C16 3.34315 14.6569 2 13 2H4Z\" fill=\"white\"/>\n</svg>\n"
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- FILE GENERATED BY packages/components/design-tokens/build-scripts/generate-icons.js DO NOT CHANGE -->
|
|
2
|
+
|
|
3
|
+
<svg
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
fill="none"
|
|
6
|
+
data-token-name="IconShare_16"
|
|
7
|
+
viewBox="0 0 16 16"
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
d="M4 2a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h3.825V7.571L5.384 8.97c-.191.111-.426.044-.552-.157a.56.56 0 0 1 .047-.653l3.31-3.817a.41.41 0 0 1 .621 0l3.311 3.817a.56.56 0 0 1 .047.653c-.125.199-.358.268-.552.157l-2.44-1.398V13H13a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3z"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"iconName": "share-24",
|
|
3
|
+
"name": "24px-share",
|
|
4
|
+
"pascalName": "IconShare_24",
|
|
5
|
+
"resource": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/5313e66a-a84e-49e3-9ee8-81c90a9de66d",
|
|
6
|
+
"graphic": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M4.8 3C2.14903 3 0 5.14903 0 7.8V16.2C0 18.851 2.14903 21 4.8 21H10.9198V12.1166L7.01401 14.4039C6.70811 14.5862 6.33222 14.4763 6.13174 14.1463C5.93127 13.8163 5.96238 13.3641 6.20606 13.078L11.5031 6.83297C11.7658 6.52235 12.2333 6.52235 12.496 6.83297L17.7939 13.078C18.0376 13.3641 18.0687 13.8163 17.8683 14.1463C17.6695 14.4722 17.2962 14.5852 16.986 14.4039L13.0802 12.1166V21H19.2C21.851 21 24 18.851 24 16.2V7.8C24 5.14903 21.851 3 19.2 3H4.8Z\" fill=\"white\"/>\n</svg>\n"
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- FILE GENERATED BY packages/components/design-tokens/build-scripts/generate-icons.js DO NOT CHANGE -->
|
|
2
|
+
|
|
3
|
+
<svg
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
fill="none"
|
|
6
|
+
data-token-name="IconShare_24"
|
|
7
|
+
viewBox="0 0 24 24"
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
d="M4.8 3A4.8 4.8 0 0 0 0 7.8v8.4A4.8 4.8 0 0 0 4.8 21h6.12v-8.883l-3.906 2.287c-.306.182-.682.072-.882-.258a.94.94 0 0 1 .074-1.068l5.297-6.245c.263-.31.73-.31.993 0l5.298 6.245a.94.94 0 0 1 .074 1.068c-.198.326-.572.44-.882.258l-3.906-2.287V21h6.12a4.8 4.8 0 0 0 4.8-4.8V7.8A4.8 4.8 0 0 0 19.2 3z"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
@mixin box-shadow-focus($paramMap: ()) {
|
|
5
|
+
$defaults: (
|
|
6
|
+
color-scheme: 'dark',
|
|
7
|
+
is-inset: true,
|
|
8
|
+
additional-selector: null,
|
|
9
|
+
);
|
|
10
|
+
$opts: map-merge($defaults, $paramMap);
|
|
11
|
+
$color-scheme: map.get($opts, 'color-scheme');
|
|
12
|
+
$is-inset: map.get($opts, 'is-inset');
|
|
13
|
+
$additional-selector: map.get($opts, 'additional-selector');
|
|
14
|
+
|
|
15
|
+
@include create-token(
|
|
16
|
+
dark-box-shadow-focus,
|
|
17
|
+
rgba(color-hex('green-40'), 0.3)
|
|
18
|
+
);
|
|
19
|
+
@include create-token(dark-box-shadow-focus-border, color('green-100'));
|
|
20
|
+
|
|
21
|
+
@include create-token(light-box-shadow-focus, color('green-40'));
|
|
22
|
+
@include create-token(light-box-shadow-focus-border, color('green-100'));
|
|
23
|
+
|
|
24
|
+
&,
|
|
25
|
+
&:focus {
|
|
26
|
+
transition: box-shadow 0.3s;
|
|
27
|
+
outline: transparent;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&[data-focus-visible-added],
|
|
31
|
+
#{$additional-selector} {
|
|
32
|
+
@if $is-inset {
|
|
33
|
+
box-shadow:
|
|
34
|
+
0
|
|
35
|
+
0
|
|
36
|
+
0
|
|
37
|
+
1px
|
|
38
|
+
inset
|
|
39
|
+
get-token(#{$color-scheme}-box-shadow-focus-border),
|
|
40
|
+
0
|
|
41
|
+
0
|
|
42
|
+
0
|
|
43
|
+
3px
|
|
44
|
+
get-token(#{$color-scheme}-box-shadow-focus) !important;
|
|
45
|
+
} @else {
|
|
46
|
+
box-shadow:
|
|
47
|
+
0 0 0 1px get-token(#{$color-scheme}-box-shadow-focus-border),
|
|
48
|
+
0
|
|
49
|
+
0
|
|
50
|
+
0
|
|
51
|
+
4px
|
|
52
|
+
get-token(#{$color-scheme}-box-shadow-focus) !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|