@sps-woodland/core 8.56.19 → 8.56.20
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/lib/action-bar/action-bar/ActionBar.ve.js +1 -1
- package/lib/action-bar/style.css +1 -1
- package/lib/add-to-list/add-to-list/AddToList.js +4 -4
- package/lib/add-to-list/add-to-list/AddToList.ve.js +32 -32
- package/lib/add-to-list/add-to-list/ItemsList.js +3 -3
- package/lib/add-to-list/add-to-list/ListItem.js +1 -1
- package/lib/add-to-list/style.css +1 -1
- package/lib/buttons/button/Button.js +2 -2
- package/lib/buttons/button/Button.ve.js +56 -56
- package/lib/buttons/style.css +1 -1
- package/lib/cards/card/Card.ve.js +1 -1
- package/lib/cards/card-footer/CardFooter.ve.js +1 -1
- package/lib/cards/card-header/CardHeader.ve.js +1 -1
- package/lib/cards/card-title/CardTitle.ve.js +1 -1
- package/lib/cards/style.css +4 -4
- package/lib/components/icon/Icon.ve.js +5 -5
- package/lib/content-row/content-row/ContentRow.js +2 -2
- package/lib/content-row/content-row/ContentRow.ve.js +37 -37
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +14 -14
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +3 -3
- package/lib/content-row/style.css +3 -3
- package/lib/content-tiles/content-tile/ContentTile.js +3 -3
- package/lib/content-tiles/content-tile/ContentTile.ve.js +13 -13
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +1 -1
- package/lib/content-tiles/style.css +2 -2
- package/lib/dropdowns/dropdown/Dropdown.js +1 -1
- package/lib/dropdowns/dropdown/Dropdown.ve.js +15 -15
- package/lib/dropdowns/option-list/Option.js +1 -1
- package/lib/dropdowns/option-list/Option.ve.js +1 -1
- package/lib/dropdowns/option-list/OptionList.js +1 -1
- package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
- package/lib/dropdowns/style.css +3 -3
- package/lib/feedback-block/FeedbackBlock.ve.js +20 -20
- package/lib/feedback-block/style.css +1 -1
- package/lib/file-upload/file-upload/FileUpload.js +4 -4
- package/lib/file-upload/file-upload/FileUpload.ve.js +28 -28
- package/lib/file-upload/style.css +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +20 -20
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +1 -1
- package/lib/filter-tiles/style.css +2 -2
- package/lib/focused-task/focused-task/FocusedTask.ve.js +5 -5
- package/lib/focused-task/style.css +1 -1
- package/lib/growler/Growler.js +1 -1
- package/lib/growler/Growler.ve.js +10 -10
- package/lib/growler/Sonner.ve.js +8 -8
- package/lib/growler/style.css +2 -2
- package/lib/index.js +28 -28
- package/lib/index.umd.cjs +1 -1
- package/lib/insight-card/InsightCard.ve.js +54 -54
- package/lib/insight-card/style.css +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +4 -4
- package/lib/key-value-set/style.css +2 -2
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +9 -9
- package/lib/list-bar/list-bar/ListBar.js +5 -5
- package/lib/list-bar/list-bar/ListBar.ve.js +4 -4
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +2 -2
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +1 -1
- package/lib/list-bar/style.css +3 -3
- package/lib/matrix/matrix/Matrix.ve.js +1 -1
- package/lib/matrix/style.css +1 -1
- package/lib/modal/modal/Modal.js +1 -1
- package/lib/modal/modal/Modal.ve.js +23 -23
- package/lib/modal/style.css +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +1 -1
- package/lib/page-title/page-title/PageTitle.ve.js +1 -1
- package/lib/page-title/style.css +2 -2
- package/lib/photo/photo/Photo.ve.js +7 -7
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +4 -4
- package/lib/photo/style.css +2 -2
- package/lib/product-bar/product-bar/ProductBar.ve.js +17 -17
- package/lib/product-bar/product-bar-name/ProductBarName.js +2 -2
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +3 -3
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +1 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +1 -1
- package/lib/product-bar/slack-link/SlackLink.ve.js +1 -1
- package/lib/product-bar/style.css +3 -3
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +23 -23
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +2 -2
- package/lib/product-bar-vertical/style.css +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +2 -2
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +26 -26
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +43 -43
- package/lib/progress-indicators/style.css +2 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +2 -2
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +7 -7
- package/lib/rich-text-editor/style.css +2 -2
- package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
- package/lib/scrollable-container/style.css +1 -1
- package/lib/side-nav/side-nav/SideNav.js +1 -1
- package/lib/side-nav/side-nav/SideNav.ve.js +7 -7
- package/lib/side-nav/side-nav-section/SideNavSection.js +1 -1
- package/lib/side-nav/style.css +1 -1
- package/lib/sorting-header/caret/caret.ve.js +3 -3
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +9 -9
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +6 -6
- package/lib/sorting-header/style.css +3 -3
- package/lib/style.css +1 -1
- package/lib/tabs/style.css +2 -2
- package/lib/tabs/tab/Tab.ve.js +22 -22
- package/lib/tabs/tabs/Tabs.d.ts +6 -1
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -1
- package/lib/tabs/tabs/Tabs.js +35 -34
- package/lib/tabs/tabs/Tabs.ve.js +5 -5
- package/lib/tags/clickable-tag/ClickableTag.js +1 -1
- package/lib/tags/clickable-tag/ClickableTag.ve.js +21 -21
- package/lib/tags/split-tag/SplitTag.js +1 -1
- package/lib/tags/split-tag/SplitTag.ve.js +15 -15
- package/lib/tags/style.css +3 -3
- package/lib/tags/tag/Tag.ve.js +19 -19
- package/lib/zero-state/ZeroState.js +1 -1
- package/lib/zero-state/ZeroState.ve.js +11 -11
- package/lib/zero-state/style.css +1 -1
- package/package.json +10 -10
package/lib/tabs/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-
|
|
2
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u540{cursor:pointer;white-space:nowrap;border-style:solid;border-top-width:.0625rem;border-right-width:.0625rem;align-items:center;padding:.5rem 1rem;font-size:.75rem;font-weight:600;line-height:.875rem;display:flex;position:relative}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u540:focus{outline-offset:.125rem;z-index:1;outline:.125rem solid #007db8;box-shadow:0 0 0 .375rem #fff}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u541{color:#717779;border-bottom-width:0;border-left-width:.0625rem;border-top-left-radius:.25rem;border-top-right-radius:.25rem;margin-bottom:-1px}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u542{border-bottom-width:.0625rem;border-left-width:0}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u542:first-child{border-left-width:.0625rem;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u542:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u545{cursor:not-allowed}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u547{color:#1f282c;background-color:#fff;border-color:#d2d4d4}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u548{border-color:#0000}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u549:hover{background-color:#f3f4f4;border-color:#d2d4d4;box-shadow:inset 0 -.0625rem #d2d4d4}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54a{color:#fff;background-color:#007db8;border-color:#007db8}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54b{color:#4b5356;background-color:#fff;border-color:#d2d4d4}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54c:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54d{color:#717779}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54l{color:#4b5356!important;background-color:#fff!important}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u540 svg{margin-bottom:0}
|
|
2
|
+
.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k0{isolation:isolate;scrollbar-width:none;flex-wrap:nowrap;display:flex;overflow:auto hidden}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k0::-webkit-scrollbar{display:none}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k1{position:relative}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2{z-index:1;cursor:pointer;background-color:#e9e9ea;border:none;justify-content:center;align-items:center;width:32px;height:34px;padding:0;display:flex;position:absolute;bottom:1px}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2:focus{outline:none}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2:after{content:"";width:8px;height:34px;display:block;position:absolute}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k3{left:0}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k3:after{background:linear-gradient(90deg,#e9e9ea,#0000);right:-7px}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k4{right:0}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k4:after{background:linear-gradient(270deg,#e9e9ea,#0000);left:-7px}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k6{background-color:#e9e9ea;border-bottom:.0625rem solid #d2d4d4;border-top-left-radius:.25rem;border-top-right-radius:.25rem;padding-top:1rem;padding-left:1rem;padding-right:1rem}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k7{margin:-4px -4px 12px;padding:4px}.pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k8:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}
|
package/lib/tabs/tab/Tab.ve.js
CHANGED
|
@@ -2,19 +2,19 @@ import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/tabs/tab/Tab.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u540",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
context: {
|
|
8
|
-
container: "pkg_sps-
|
|
9
|
-
navigation: "pkg_sps-
|
|
8
|
+
container: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u541",
|
|
9
|
+
navigation: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u542"
|
|
10
10
|
},
|
|
11
11
|
active: {
|
|
12
|
-
true: "pkg_sps-
|
|
13
|
-
false: "pkg_sps-
|
|
12
|
+
true: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u543",
|
|
13
|
+
false: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u544"
|
|
14
14
|
},
|
|
15
15
|
disabled: {
|
|
16
|
-
true: "pkg_sps-
|
|
17
|
-
false: "pkg_sps-
|
|
16
|
+
true: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u545",
|
|
17
|
+
false: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u546"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
defaultVariants: {},
|
|
@@ -22,56 +22,56 @@ var t = e({
|
|
|
22
22
|
[{
|
|
23
23
|
context: "container",
|
|
24
24
|
active: !0
|
|
25
|
-
}, "pkg_sps-
|
|
25
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u547"],
|
|
26
26
|
[{
|
|
27
27
|
context: "container",
|
|
28
28
|
active: !1
|
|
29
|
-
}, "pkg_sps-
|
|
29
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u548"],
|
|
30
30
|
[{
|
|
31
31
|
context: "container",
|
|
32
32
|
active: !1,
|
|
33
33
|
disabled: !1
|
|
34
|
-
}, "pkg_sps-
|
|
34
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u549"],
|
|
35
35
|
[{
|
|
36
36
|
context: "navigation",
|
|
37
37
|
active: !0
|
|
38
|
-
}, "pkg_sps-
|
|
38
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54a"],
|
|
39
39
|
[{
|
|
40
40
|
context: "navigation",
|
|
41
41
|
active: !1
|
|
42
|
-
}, "pkg_sps-
|
|
42
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54b"],
|
|
43
43
|
[{
|
|
44
44
|
context: "navigation",
|
|
45
45
|
active: !1,
|
|
46
46
|
disabled: !1
|
|
47
|
-
}, "pkg_sps-
|
|
47
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54c"],
|
|
48
48
|
[{
|
|
49
49
|
context: "navigation",
|
|
50
50
|
active: !1,
|
|
51
51
|
disabled: !0
|
|
52
|
-
}, "pkg_sps-
|
|
52
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54d"]
|
|
53
53
|
]
|
|
54
54
|
}), n = e({
|
|
55
|
-
defaultClassName: "pkg_sps-
|
|
55
|
+
defaultClassName: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54e",
|
|
56
56
|
variantClassNames: {
|
|
57
57
|
active: {
|
|
58
|
-
true: "pkg_sps-
|
|
59
|
-
false: "pkg_sps-
|
|
58
|
+
true: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54f",
|
|
59
|
+
false: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54g"
|
|
60
60
|
},
|
|
61
61
|
disabled: {
|
|
62
|
-
true: "pkg_sps-
|
|
63
|
-
false: "pkg_sps-
|
|
62
|
+
true: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54h",
|
|
63
|
+
false: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54i"
|
|
64
64
|
},
|
|
65
65
|
context: {
|
|
66
|
-
navigation: "pkg_sps-
|
|
67
|
-
container: "pkg_sps-
|
|
66
|
+
navigation: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54j",
|
|
67
|
+
container: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54k"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
defaultVariants: {},
|
|
71
71
|
compoundVariants: [[{
|
|
72
72
|
context: "navigation",
|
|
73
73
|
active: !0
|
|
74
|
-
}, "pkg_sps-
|
|
74
|
+
}, "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_p40u54l"]]
|
|
75
75
|
});
|
|
76
76
|
//#endregion
|
|
77
77
|
export { t as tab, n as tabTag };
|
package/lib/tabs/tabs/Tabs.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { TabListProps } from "@react-types/tabs";
|
|
3
|
+
import type { CollectionChildren, CollectionElement } from "@react-types/shared";
|
|
3
4
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
4
5
|
import type { TabsVariants } from "./Tabs.css";
|
|
5
|
-
|
|
6
|
+
type TabsChild = CollectionElement<Record<string, unknown>> | false | undefined | TabsChild[];
|
|
7
|
+
export declare function Tabs({ className, context, "data-testid": dataTestId, selectedKey, defaultSelectedKey, children, ...rest }: Omit<TabListProps<Record<string, unknown>>, "children"> & ComponentProps<TabsVariants & {
|
|
8
|
+
children: CollectionChildren<Record<string, unknown>> | TabsChild;
|
|
9
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
10
|
+
export {};
|
|
6
11
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAQ/C,KAAK,SAAS,GAAG,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,EAAE,CAAC;AAE9F,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,OAAsB,EACtB,aAAa,EAAE,UAAU,EACzB,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,UAAU,CAAC,GACxD,cAAc,CACZ,YAAY,GAAG;IAAE,QAAQ,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAA;CAAE,EACpF,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAoJvB"}
|
package/lib/tabs/tabs/Tabs.js
CHANGED
|
@@ -7,36 +7,37 @@ import { useTabListState as l } from "@react-stately/tabs";
|
|
|
7
7
|
import { useTabList as u } from "@react-aria/tabs";
|
|
8
8
|
//#region src/tabs/tabs/Tabs.tsx
|
|
9
9
|
var d = .75;
|
|
10
|
-
function f({ className: a, context: f = "navigation", "data-testid": p, selectedKey: m, defaultSelectedKey: h,
|
|
11
|
-
let
|
|
12
|
-
...
|
|
10
|
+
function f({ className: a, context: f = "navigation", "data-testid": p, selectedKey: m, defaultSelectedKey: h, children: g, ..._ }) {
|
|
11
|
+
let v = {
|
|
12
|
+
..._,
|
|
13
|
+
children: g,
|
|
13
14
|
selectedKey: m ?? void 0,
|
|
14
15
|
defaultSelectedKey: h ?? void 0
|
|
15
|
-
},
|
|
16
|
-
let e =
|
|
16
|
+
}, y = l(v), b = c.useRef(null), { tabListProps: x } = u(v, y, b), S = s({ "data-testid": p }), C = f === "container", [w, T] = c.useState(!1), [E, D] = c.useState(!1), O = c.useCallback(() => {
|
|
17
|
+
let e = b.current;
|
|
17
18
|
if (!e) return;
|
|
18
19
|
let t = e.scrollWidth - e.clientWidth;
|
|
19
|
-
|
|
20
|
+
T(e.scrollLeft > 1), D(t - e.scrollLeft > 1);
|
|
20
21
|
}, []);
|
|
21
22
|
c.useEffect(() => {
|
|
22
|
-
let e =
|
|
23
|
+
let e = b.current;
|
|
23
24
|
if (!e) return;
|
|
24
|
-
|
|
25
|
-
let t = new ResizeObserver(
|
|
25
|
+
O(), e.addEventListener("scroll", O, { passive: !0 });
|
|
26
|
+
let t = new ResizeObserver(O);
|
|
26
27
|
return t.observe(e), () => {
|
|
27
|
-
e.removeEventListener("scroll",
|
|
28
|
+
e.removeEventListener("scroll", O), t.disconnect();
|
|
28
29
|
};
|
|
29
|
-
}, [
|
|
30
|
-
let
|
|
31
|
-
let t =
|
|
30
|
+
}, [O]);
|
|
31
|
+
let k = (e) => {
|
|
32
|
+
let t = b.current;
|
|
32
33
|
if (!t) return;
|
|
33
34
|
let n = t.clientWidth * d;
|
|
34
35
|
t.scrollBy({
|
|
35
36
|
left: e === "left" ? -n : n,
|
|
36
37
|
behavior: "smooth"
|
|
37
38
|
});
|
|
38
|
-
},
|
|
39
|
-
let e =
|
|
39
|
+
}, A = c.useCallback(() => {
|
|
40
|
+
let e = b.current;
|
|
40
41
|
if (!e) return;
|
|
41
42
|
let t = e.querySelector("[aria-selected=\"true\"]");
|
|
42
43
|
if (!t) return;
|
|
@@ -50,51 +51,51 @@ function f({ className: a, context: f = "navigation", "data-testid": p, selected
|
|
|
50
51
|
});
|
|
51
52
|
}, []);
|
|
52
53
|
c.useEffect(() => {
|
|
53
|
-
|
|
54
|
-
}, [
|
|
55
|
-
let
|
|
56
|
-
requestAnimationFrame(() =>
|
|
54
|
+
A();
|
|
55
|
+
}, [y.selectedKey, A]);
|
|
56
|
+
let j = () => {
|
|
57
|
+
requestAnimationFrame(() => A());
|
|
57
58
|
};
|
|
58
59
|
return /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement("div", {
|
|
59
60
|
className: n,
|
|
60
61
|
"data-testid": p
|
|
61
|
-
},
|
|
62
|
+
}, C && w && /* @__PURE__ */ c.createElement("button", {
|
|
62
63
|
"aria-label": "Show previous tabs",
|
|
63
64
|
title: "Show previous tabs",
|
|
64
|
-
className: o("pkg_sps-
|
|
65
|
+
className: o("pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2", "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k3"),
|
|
65
66
|
"data-side": "left",
|
|
66
|
-
onClick: () =>
|
|
67
|
+
onClick: () => k("left"),
|
|
67
68
|
type: "button"
|
|
68
69
|
}, /* @__PURE__ */ c.createElement(i, {
|
|
69
70
|
icon: "chevron-left",
|
|
70
71
|
size: "sm",
|
|
71
72
|
"aria-hidden": "true"
|
|
72
73
|
})), /* @__PURE__ */ c.createElement("div", {
|
|
73
|
-
...
|
|
74
|
-
ref:
|
|
74
|
+
...x,
|
|
75
|
+
ref: b,
|
|
75
76
|
className: o(t({ context: f }), a),
|
|
76
|
-
onClickCapture:
|
|
77
|
-
}, [...
|
|
77
|
+
onClickCapture: j
|
|
78
|
+
}, [...y.collection].map((t) => /* @__PURE__ */ c.createElement(e, {
|
|
78
79
|
key: t.key,
|
|
79
80
|
item: t,
|
|
80
|
-
state:
|
|
81
|
+
state: y,
|
|
81
82
|
context: f,
|
|
82
|
-
...
|
|
83
|
-
}))),
|
|
83
|
+
...S(`tab-${String(t.key)}`)
|
|
84
|
+
}))), C && E && /* @__PURE__ */ c.createElement("button", {
|
|
84
85
|
"aria-label": "Show more tabs",
|
|
85
86
|
title: "Show more tabs",
|
|
86
|
-
className: o("pkg_sps-
|
|
87
|
-
onClick: () =>
|
|
87
|
+
className: o("pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2", "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k4"),
|
|
88
|
+
onClick: () => k("right"),
|
|
88
89
|
type: "button"
|
|
89
90
|
}, /* @__PURE__ */ c.createElement(i, {
|
|
90
91
|
icon: "chevron-right",
|
|
91
92
|
size: "sm",
|
|
92
93
|
"aria-hidden": "true"
|
|
93
94
|
}))), /* @__PURE__ */ c.createElement(r, {
|
|
94
|
-
key:
|
|
95
|
-
state:
|
|
95
|
+
key: y.selectedItem ? y.selectedItem.key : null,
|
|
96
|
+
state: y,
|
|
96
97
|
context: f,
|
|
97
|
-
...
|
|
98
|
+
...S("tab-panel")
|
|
98
99
|
}));
|
|
99
100
|
}
|
|
100
101
|
a.set(f, { name: "Tabs" });
|
package/lib/tabs/tabs/Tabs.ve.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/tabs/tabs/Tabs.css.ts
|
|
4
|
-
var t = "pkg_sps-
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k1", n = "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k2", r = "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k3", i = "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k4", a = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k5 pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k0",
|
|
6
6
|
variantClassNames: { context: {
|
|
7
|
-
container: "pkg_sps-
|
|
8
|
-
navigation: "pkg_sps-
|
|
7
|
+
container: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k6",
|
|
8
|
+
navigation: "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k7"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: {},
|
|
11
11
|
compoundVariants: []
|
|
12
|
-
}), o = "pkg_sps-
|
|
12
|
+
}), o = "pkg_sps-woodland_core__family_tabs__version_8_56_20__hash_1mdnm0k8";
|
|
13
13
|
//#endregion
|
|
14
14
|
export { o as tabPanel, a as tabs, n as tabsScrollButton, r as tabsScrollButtonLeft, i as tabsScrollButtonRight, t as tabsScrollWrapper };
|
|
@@ -58,7 +58,7 @@ function l({ children: a, className: l, onClick: u, disabled: d, wrap: f, href:
|
|
|
58
58
|
defaultValue: `Remove ${b}`
|
|
59
59
|
})}`
|
|
60
60
|
}, /* @__PURE__ */ s.createElement(i, {
|
|
61
|
-
className: "pkg_sps-
|
|
61
|
+
className: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5k",
|
|
62
62
|
"aria-hidden": "true",
|
|
63
63
|
icon: g ? "plus-sign" : "x"
|
|
64
64
|
})));
|
|
@@ -2,19 +2,19 @@ import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/tags/clickable-tag/ClickableTag.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu50",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
kind: {
|
|
8
|
-
blue: "pkg_sps-
|
|
9
|
-
gray: "pkg_sps-
|
|
8
|
+
blue: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu51",
|
|
9
|
+
gray: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu52"
|
|
10
10
|
},
|
|
11
11
|
disabled: {
|
|
12
|
-
true: "pkg_sps-
|
|
13
|
-
false: "pkg_sps-
|
|
12
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu53",
|
|
13
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu54"
|
|
14
14
|
},
|
|
15
15
|
wrap: {
|
|
16
|
-
true: "pkg_sps-
|
|
17
|
-
false: "pkg_sps-
|
|
16
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu55",
|
|
17
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu56"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
defaultVariants: {
|
|
@@ -24,23 +24,23 @@ var t = e({
|
|
|
24
24
|
},
|
|
25
25
|
compoundVariants: []
|
|
26
26
|
}), n = e({
|
|
27
|
-
defaultClassName: "pkg_sps-
|
|
27
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu57",
|
|
28
28
|
variantClassNames: {
|
|
29
29
|
link: {
|
|
30
|
-
true: "pkg_sps-
|
|
31
|
-
false: "pkg_sps-
|
|
30
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu58",
|
|
31
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu59"
|
|
32
32
|
},
|
|
33
33
|
wrap: {
|
|
34
|
-
true: "pkg_sps-
|
|
35
|
-
false: "pkg_sps-
|
|
34
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5a",
|
|
35
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5b"
|
|
36
36
|
},
|
|
37
37
|
disabled: {
|
|
38
|
-
true: "pkg_sps-
|
|
39
|
-
false: "pkg_sps-
|
|
38
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5c",
|
|
39
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5d"
|
|
40
40
|
},
|
|
41
41
|
addOrRemove: {
|
|
42
|
-
true: "pkg_sps-
|
|
43
|
-
false: "pkg_sps-
|
|
42
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5e",
|
|
43
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5f"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
defaultVariants: {
|
|
@@ -53,15 +53,15 @@ var t = e({
|
|
|
53
53
|
disabled: !1,
|
|
54
54
|
wrap: !1,
|
|
55
55
|
addOrRemove: !0
|
|
56
|
-
}, "pkg_sps-
|
|
56
|
+
}, "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5g"]]
|
|
57
57
|
}), r = e({
|
|
58
|
-
defaultClassName: "pkg_sps-
|
|
58
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5h",
|
|
59
59
|
variantClassNames: { wrap: {
|
|
60
|
-
true: "pkg_sps-
|
|
61
|
-
false: "pkg_sps-
|
|
60
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5i",
|
|
61
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5j"
|
|
62
62
|
} },
|
|
63
63
|
defaultVariants: { wrap: !1 },
|
|
64
64
|
compoundVariants: []
|
|
65
|
-
}), i = "pkg_sps-
|
|
65
|
+
}), i = "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5k", a = "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5l";
|
|
66
66
|
//#endregion
|
|
67
67
|
export { t as clickableTag, i as clickableTagIcon, r as clickableTagIconWrapper, n as clickableTagLabel, a as clickableTagLink };
|
|
@@ -12,7 +12,7 @@ function c({ children: a, className: c, color: l = "default", href: u, target: d
|
|
|
12
12
|
icon: f,
|
|
13
13
|
kind: l,
|
|
14
14
|
wrap: h
|
|
15
|
-
}, p && /* @__PURE__ */ s.createElement("span", { className: o("pkg_sps-
|
|
15
|
+
}, p && /* @__PURE__ */ s.createElement("span", { className: o("pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf4") }, p)), /* @__PURE__ */ s.createElement(e, {
|
|
16
16
|
className: o(i({
|
|
17
17
|
href: !!u,
|
|
18
18
|
kind: l
|
|
@@ -2,28 +2,28 @@ import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/tags/split-tag/SplitTag.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf0",
|
|
6
6
|
variantClassNames: { wrap: {
|
|
7
|
-
true: "pkg_sps-
|
|
8
|
-
false: "pkg_sps-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf2"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { wrap: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
|
-
}), n = "pkg_sps-
|
|
13
|
-
defaultClassName: "pkg_sps-
|
|
12
|
+
}), n = "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf3", r = "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf4", i = e({
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf5",
|
|
14
14
|
variantClassNames: {
|
|
15
15
|
href: {
|
|
16
|
-
true: "pkg_sps-
|
|
17
|
-
false: "pkg_sps-
|
|
16
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf6",
|
|
17
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf7"
|
|
18
18
|
},
|
|
19
19
|
kind: {
|
|
20
|
-
default: "pkg_sps-
|
|
21
|
-
key: "pkg_sps-
|
|
22
|
-
warning: "pkg_sps-
|
|
23
|
-
error: "pkg_sps-
|
|
24
|
-
pending: "pkg_sps-
|
|
25
|
-
success: "pkg_sps-
|
|
26
|
-
info: "pkg_sps-
|
|
20
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf8",
|
|
21
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf9",
|
|
22
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfa",
|
|
23
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfb",
|
|
24
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfc",
|
|
25
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfd",
|
|
26
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfe"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
defaultVariants: {
|
|
@@ -31,6 +31,6 @@ var t = e({
|
|
|
31
31
|
kind: "default"
|
|
32
32
|
},
|
|
33
33
|
compoundVariants: []
|
|
34
|
-
}), a = "pkg_sps-
|
|
34
|
+
}), a = "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrff";
|
|
35
35
|
//#endregion
|
|
36
36
|
export { t as splitTag, n as splitTagKey, r as splitTagKeyText, a as splitTagLink, i as splitTagValue };
|
package/lib/tags/style.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.pkg_sps-
|
|
2
|
-
.pkg_sps-
|
|
3
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r0{text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;border-radius:.125rem;padding:.125rem .25rem;font-size:.75rem;font-weight:600;line-height:.75rem;display:inline-block;overflow:hidden}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r1{color:#4b5356;background:#e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r2{color:#fff;background:#4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r3{color:#fff;background:#e7760b}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r4{color:#fff;background:#de002e}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r5{color:#fff;background:#91467f}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r6{color:#fff;background:#0b8940}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r7{color:#fff;background:#007db8}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r8{white-space:normal;word-break:break-word;text-overflow:clip;flex-wrap:nowrap;align-items:start;height:auto;line-height:.875rem;display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2ra{height:1em;margin-top:-2px;margin-bottom:-2px;margin-right:.25rem;font-size:.75rem;line-height:.625rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2ra:before{vertical-align:text-bottom}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rb{display:none}
|
|
2
|
+
.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu50{color:#09638d;border-radius:.125rem;max-width:100%;height:1.125rem;font-size:.75rem;font-weight:600;line-height:.75rem;display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu51{background-color:#e6f2f8}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu52{background-color:#e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu53{color:#717779;cursor:not-allowed;background-color:#fff;border:.0625rem solid #d2d4d4}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu55{height:auto}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu57{text-overflow:ellipsis;white-space:nowrap;border-radius:.125rem;flex-grow:1;flex-shrink:1;height:1.125rem;padding:.125rem .25rem;overflow:hidden}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu57:focus-within{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu58{cursor:pointer;text-decoration:underline}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu58:hover{color:#e6f2f8;background-color:#09638d;border-radius:.125rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5a{white-space:normal;word-break:break-word;height:auto;line-height:.875rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5g{border-radius:.125rem 0 0 .125rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5h{color:#09638d;border-radius:0 .125rem .125rem 0;height:1.125rem;padding:.125rem .25rem;line-height:.75rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5h:hover{color:#e6f2f8;cursor:pointer;background-color:#09638d}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5h:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5i{align-content:center;height:auto}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5k{cursor:pointer;vertical-align:middle;font-size:.625rem;text-decoration:none;position:relative;top:-.0625rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5l:focus{outline:none}span>.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5l{color:#09638d}span:hover>.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_1avalu5l{color:#e6f2f8}
|
|
3
|
+
.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf0{display:inline-block}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf1{display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf3{border-radius:.125rem 0 0 .125rem}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf5{background:#fff;border-radius:0 .125rem .125rem 0;padding:.125rem .25rem;box-shadow:inset .0625rem 0 #e9e9ea,inset -.0625rem 0 #e9e9ea,inset 0 .0625rem #e9e9ea,inset 0 -.0625rem #e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf5:focus-within{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf6{cursor:pointer;color:#4b5356;text-decoration:underline}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf9{box-shadow:inset .0625rem 0 #4b5356,inset -.0625rem 0 #4b5356,inset 0 .0625rem #4b5356,inset 0 -.0625rem #4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfa{box-shadow:inset .0625rem 0 #e7760b,inset -.0625rem 0 #e7760b,inset 0 .0625rem #e7760b,inset 0 -.0625rem #e7760b}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfb{box-shadow:inset .0625rem 0 #de002e,inset -.0625rem 0 #de002e,inset 0 .0625rem #de002e,inset 0 -.0625rem #de002e}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfc{box-shadow:inset .0625rem 0 #91467f,inset -.0625rem 0 #91467f,inset 0 .0625rem #91467f,inset 0 -.0625rem #91467f}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfd{box-shadow:inset .0625rem 0 #0b8940,inset -.0625rem 0 #0b8940,inset 0 .0625rem #0b8940,inset 0 -.0625rem #0b8940}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrfe{box-shadow:inset .0625rem 0 #007db8,inset -.0625rem 0 #007db8,inset 0 .0625rem #007db8,inset 0 -.0625rem #007db8}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrff,.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrff:hover{color:#4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrff:focus{outline:none}.pkg_sps-woodland_core__family_tags__version_8_56_20__hash_16xtnrf3>i{margin-right:0}
|
package/lib/tags/tag/Tag.ve.js
CHANGED
|
@@ -2,20 +2,20 @@ import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/tags/tag/Tag.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r0",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
kind: {
|
|
8
|
-
default: "pkg_sps-
|
|
9
|
-
key: "pkg_sps-
|
|
10
|
-
warning: "pkg_sps-
|
|
11
|
-
error: "pkg_sps-
|
|
12
|
-
pending: "pkg_sps-
|
|
13
|
-
success: "pkg_sps-
|
|
14
|
-
info: "pkg_sps-
|
|
8
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r1",
|
|
9
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r2",
|
|
10
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r3",
|
|
11
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r4",
|
|
12
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r5",
|
|
13
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r6",
|
|
14
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r7"
|
|
15
15
|
},
|
|
16
16
|
wrap: {
|
|
17
|
-
true: "pkg_sps-
|
|
18
|
-
false: "pkg_sps-
|
|
17
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r8",
|
|
18
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2r9"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
defaultVariants: {
|
|
@@ -24,16 +24,16 @@ var t = e({
|
|
|
24
24
|
},
|
|
25
25
|
compoundVariants: []
|
|
26
26
|
}), n = e({
|
|
27
|
-
defaultClassName: "pkg_sps-
|
|
27
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2ra",
|
|
28
28
|
variantClassNames: { kind: {
|
|
29
|
-
default: "pkg_sps-
|
|
30
|
-
key: "pkg_sps-
|
|
31
|
-
warning: "pkg_sps-
|
|
32
|
-
error: "pkg_sps-
|
|
33
|
-
pending: "pkg_sps-
|
|
34
|
-
success: "pkg_sps-
|
|
35
|
-
info: "pkg_sps-
|
|
36
|
-
custom: "pkg_sps-
|
|
29
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rb",
|
|
30
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rc",
|
|
31
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rd",
|
|
32
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2re",
|
|
33
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rf",
|
|
34
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rg",
|
|
35
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2rh",
|
|
36
|
+
custom: "pkg_sps-woodland_core__family_tags__version_8_56_20__hash_k59j2ri"
|
|
37
37
|
} },
|
|
38
38
|
defaultVariants: { kind: "default" },
|
|
39
39
|
compoundVariants: []
|
|
@@ -19,7 +19,7 @@ function f({ artwork: s, heading: f, illustration: p, subHeading: m, micro: h =
|
|
|
19
19
|
className: i,
|
|
20
20
|
src: b,
|
|
21
21
|
alt: ""
|
|
22
|
-
}), f && (typeof f == "string" ? /* @__PURE__ */ u.createElement("h1", { className: r({ micro: h }) }, f) : l(f)), m && (typeof m == "string" ? /* @__PURE__ */ u.createElement("h2", { className: "pkg_sps-woodland_core__family_zero-
|
|
22
|
+
}), f && (typeof f == "string" ? /* @__PURE__ */ u.createElement("h1", { className: r({ micro: h }) }, f) : l(f)), m && (typeof m == "string" ? /* @__PURE__ */ u.createElement("h2", { className: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luua" }, m) : l(m)), /* @__PURE__ */ u.createElement("div", { className: n }, g)));
|
|
23
23
|
}
|
|
24
24
|
s.set(f, {
|
|
25
25
|
name: "ZeroState",
|
|
@@ -2,29 +2,29 @@ import { c as e } from "../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@va
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/zero-state/ZeroState.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_zero-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu0",
|
|
6
6
|
variantClassNames: { micro: {
|
|
7
|
-
true: "pkg_sps-woodland_core__family_zero-
|
|
8
|
-
false: "pkg_sps-woodland_core__family_zero-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu2"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: {},
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
}), n = e({
|
|
13
|
-
defaultClassName: "pkg_sps-woodland_core__family_zero-
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu3",
|
|
14
14
|
variantClassNames: { micro: {
|
|
15
|
-
true: "pkg_sps-woodland_core__family_zero-
|
|
16
|
-
false: "pkg_sps-woodland_core__family_zero-
|
|
15
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu4",
|
|
16
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu5"
|
|
17
17
|
} },
|
|
18
18
|
defaultVariants: { micro: !1 },
|
|
19
19
|
compoundVariants: []
|
|
20
|
-
}), r = "pkg_sps-woodland_core__family_zero-
|
|
21
|
-
defaultClassName: "pkg_sps-woodland_core__family_zero-
|
|
20
|
+
}), r = "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu6", i = e({
|
|
21
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu7",
|
|
22
22
|
variantClassNames: { micro: {
|
|
23
|
-
true: "pkg_sps-woodland_core__family_zero-
|
|
24
|
-
false: "pkg_sps-woodland_core__family_zero-
|
|
23
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu8",
|
|
24
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu9"
|
|
25
25
|
} },
|
|
26
26
|
defaultVariants: { micro: !1 },
|
|
27
27
|
compoundVariants: []
|
|
28
|
-
}), a = "pkg_sps-woodland_core__family_zero-
|
|
28
|
+
}), a = "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luua", o = "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luub", s = "pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luuc";
|
|
29
29
|
//#endregion
|
|
30
30
|
export { s as microZeroStateIcon, n as zeroState, o as zeroStateContent, i as zeroStateHeading, r as zeroStateImage, a as zeroStateSubheading, t as zeroStateWrapper };
|
package/lib/zero-state/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_zero-
|
|
1
|
+
.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu2{padding:1rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu3{text-align:center;margin:auto;padding:2rem 0}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu4{flex-direction:column;justify-content:center;align-items:center;width:auto;height:100%;display:flex}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu6{width:12.5rem;height:6.25rem;margin-bottom:1rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu7{margin-bottom:0}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu8{color:#4b5356;font-size:1rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu9{color:#1f282c;font-size:1.5rem;line-height:1.5rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luua{color:#4b5356;margin-top:.25rem;margin-bottom:0;font-size:.875rem;line-height:1.25rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luub{margin-top:1rem}.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luuc{color:#717779;padding-bottom:.25rem;font-size:3rem;line-height:3rem}@media screen and (width>=768px){.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu3{width:75%}}@media screen and (width>=992px){.pkg_sps-woodland_core__family_zero-state__version_8_56_20__hash_sa7luu3{width:50%}}
|