@asante-org/atlascopco-vt-litesitegenerator 3.6.18 → 3.6.21
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/dist/index.esm.js +46 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.scss +167 -0
- package/dist/index.js +49 -3
- package/dist/index.js.map +1 -1
- package/dist/index.scss +167 -0
- package/dist/lsg-clientlib.css +2106 -0
- package/dist/lsg-clientlib.css.map +1 -0
- package/dist/lsg-clientlib.js +524 -0
- package/dist/lsg-clientlib.js.map +1 -0
- package/dist/src/components/lsg/LsgTable/LsgTable.d.ts +19 -0
- package/dist/src/components/lsg/LsgTable/LsgTable.stories.d.ts +8 -0
- package/dist/src/components/lsg/LsgTable/index.d.ts +2 -0
- package/dist/src/components/lsg/index.d.ts +2 -0
- package/dist/src/index.d.ts +5 -5
- package/dist/src/themes/createThemeComponents.d.ts +1 -0
- package/dist/src/themes/theme-1/components.d.ts +2 -1
- package/dist/src/themes/theme-2/components.d.ts +2 -1
- package/dist/src/themes/theme-3/components.d.ts +2 -1
- package/dist/themes/theme-1.css +180 -0
- package/dist/themes/theme-1.css.map +1 -1
- package/dist/themes/theme-2.css +177 -0
- package/dist/themes/theme-2.css.map +1 -1
- package/dist/themes/theme-3.css +204 -0
- package/dist/themes/theme-3.css.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.scss
CHANGED
|
@@ -3596,6 +3596,90 @@
|
|
|
3596
3596
|
display: block;
|
|
3597
3597
|
}
|
|
3598
3598
|
|
|
3599
|
+
.table-focus,
|
|
3600
|
+
.table-focus * {
|
|
3601
|
+
box-sizing: border-box;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
.table-focus {
|
|
3605
|
+
--lsg-table-background-color: var(--lsg-color-primary);
|
|
3606
|
+
--lsg-table-accent-color: var(--lsg-color-black);
|
|
3607
|
+
width: 100%;
|
|
3608
|
+
max-width: 100%;
|
|
3609
|
+
overflow-x: auto;
|
|
3610
|
+
color: var(--lsg-table-accent-color);
|
|
3611
|
+
font-family: var(--lsg-font-family-primary);
|
|
3612
|
+
}
|
|
3613
|
+
.table-focus.background-color-white {
|
|
3614
|
+
--lsg-table-background-color: var(--lsg-color-white);
|
|
3615
|
+
}
|
|
3616
|
+
.table-focus.accent-color-white {
|
|
3617
|
+
--lsg-table-accent-color: var(--lsg-color-white);
|
|
3618
|
+
}
|
|
3619
|
+
.table-focus.background-color-black {
|
|
3620
|
+
--lsg-table-background-color: var(--lsg-color-black);
|
|
3621
|
+
}
|
|
3622
|
+
.table-focus.accent-color-black {
|
|
3623
|
+
--lsg-table-accent-color: var(--lsg-color-black);
|
|
3624
|
+
}
|
|
3625
|
+
.table-focus.background-color-primary {
|
|
3626
|
+
--lsg-table-background-color: var(--lsg-color-primary);
|
|
3627
|
+
}
|
|
3628
|
+
.table-focus.accent-color-primary {
|
|
3629
|
+
--lsg-table-accent-color: var(--lsg-color-primary);
|
|
3630
|
+
}
|
|
3631
|
+
.table-focus.background-color-secondary {
|
|
3632
|
+
--lsg-table-background-color: var(--lsg-color-secondary);
|
|
3633
|
+
}
|
|
3634
|
+
.table-focus.accent-color-secondary {
|
|
3635
|
+
--lsg-table-accent-color: var(--lsg-color-secondary);
|
|
3636
|
+
}
|
|
3637
|
+
.table-focus.background-color-tertiary {
|
|
3638
|
+
--lsg-table-background-color: var(--lsg-color-tertiary);
|
|
3639
|
+
}
|
|
3640
|
+
.table-focus.accent-color-tertiary {
|
|
3641
|
+
--lsg-table-accent-color: var(--lsg-color-tertiary);
|
|
3642
|
+
}
|
|
3643
|
+
.table-focus.background-color-light {
|
|
3644
|
+
--lsg-table-background-color: var(--lsg-color-light);
|
|
3645
|
+
}
|
|
3646
|
+
.table-focus.accent-color-light {
|
|
3647
|
+
--lsg-table-accent-color: var(--lsg-color-light);
|
|
3648
|
+
}
|
|
3649
|
+
.table-focus.background-color-dark {
|
|
3650
|
+
--lsg-table-background-color: var(--lsg-color-dark);
|
|
3651
|
+
}
|
|
3652
|
+
.table-focus.accent-color-dark {
|
|
3653
|
+
--lsg-table-accent-color: var(--lsg-color-dark);
|
|
3654
|
+
}
|
|
3655
|
+
.table-focus table {
|
|
3656
|
+
width: 100%;
|
|
3657
|
+
margin: 0;
|
|
3658
|
+
border: 0;
|
|
3659
|
+
border-collapse: separate;
|
|
3660
|
+
border-spacing: 0;
|
|
3661
|
+
background: transparent;
|
|
3662
|
+
color: inherit;
|
|
3663
|
+
font: inherit;
|
|
3664
|
+
}
|
|
3665
|
+
.table-focus tr,
|
|
3666
|
+
.table-focus td,
|
|
3667
|
+
.table-focus th {
|
|
3668
|
+
border: 0;
|
|
3669
|
+
}
|
|
3670
|
+
.table-focus td,
|
|
3671
|
+
.table-focus th {
|
|
3672
|
+
vertical-align: middle;
|
|
3673
|
+
word-break: break-word;
|
|
3674
|
+
}
|
|
3675
|
+
.table-focus p {
|
|
3676
|
+
margin: 0;
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
.table-caption {
|
|
3680
|
+
font-family: var(--lsg-font-family-primary);
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3599
3683
|
.lsg-video {
|
|
3600
3684
|
position: relative;
|
|
3601
3685
|
width: 100%;
|
|
@@ -8819,6 +8903,89 @@
|
|
|
8819
8903
|
.lsg-tabs[data-panelcontainer] .lsg-tabs__panel.cmp-tabs__tabpanel--active {
|
|
8820
8904
|
display: block;
|
|
8821
8905
|
}
|
|
8906
|
+
.table-focus,
|
|
8907
|
+
.table-focus * {
|
|
8908
|
+
box-sizing: border-box;
|
|
8909
|
+
}
|
|
8910
|
+
|
|
8911
|
+
.table-focus {
|
|
8912
|
+
--lsg-table-background-color: var(--lsg-color-primary);
|
|
8913
|
+
--lsg-table-accent-color: var(--lsg-color-black);
|
|
8914
|
+
width: 100%;
|
|
8915
|
+
max-width: 100%;
|
|
8916
|
+
overflow-x: auto;
|
|
8917
|
+
color: var(--lsg-table-accent-color);
|
|
8918
|
+
font-family: var(--lsg-font-family-primary);
|
|
8919
|
+
}
|
|
8920
|
+
.table-focus.background-color-white {
|
|
8921
|
+
--lsg-table-background-color: var(--lsg-color-white);
|
|
8922
|
+
}
|
|
8923
|
+
.table-focus.accent-color-white {
|
|
8924
|
+
--lsg-table-accent-color: var(--lsg-color-white);
|
|
8925
|
+
}
|
|
8926
|
+
.table-focus.background-color-black {
|
|
8927
|
+
--lsg-table-background-color: var(--lsg-color-black);
|
|
8928
|
+
}
|
|
8929
|
+
.table-focus.accent-color-black {
|
|
8930
|
+
--lsg-table-accent-color: var(--lsg-color-black);
|
|
8931
|
+
}
|
|
8932
|
+
.table-focus.background-color-primary {
|
|
8933
|
+
--lsg-table-background-color: var(--lsg-color-primary);
|
|
8934
|
+
}
|
|
8935
|
+
.table-focus.accent-color-primary {
|
|
8936
|
+
--lsg-table-accent-color: var(--lsg-color-primary);
|
|
8937
|
+
}
|
|
8938
|
+
.table-focus.background-color-secondary {
|
|
8939
|
+
--lsg-table-background-color: var(--lsg-color-secondary);
|
|
8940
|
+
}
|
|
8941
|
+
.table-focus.accent-color-secondary {
|
|
8942
|
+
--lsg-table-accent-color: var(--lsg-color-secondary);
|
|
8943
|
+
}
|
|
8944
|
+
.table-focus.background-color-tertiary {
|
|
8945
|
+
--lsg-table-background-color: var(--lsg-color-tertiary);
|
|
8946
|
+
}
|
|
8947
|
+
.table-focus.accent-color-tertiary {
|
|
8948
|
+
--lsg-table-accent-color: var(--lsg-color-tertiary);
|
|
8949
|
+
}
|
|
8950
|
+
.table-focus.background-color-light {
|
|
8951
|
+
--lsg-table-background-color: var(--lsg-color-light);
|
|
8952
|
+
}
|
|
8953
|
+
.table-focus.accent-color-light {
|
|
8954
|
+
--lsg-table-accent-color: var(--lsg-color-light);
|
|
8955
|
+
}
|
|
8956
|
+
.table-focus.background-color-dark {
|
|
8957
|
+
--lsg-table-background-color: var(--lsg-color-dark);
|
|
8958
|
+
}
|
|
8959
|
+
.table-focus.accent-color-dark {
|
|
8960
|
+
--lsg-table-accent-color: var(--lsg-color-dark);
|
|
8961
|
+
}
|
|
8962
|
+
.table-focus table {
|
|
8963
|
+
width: 100%;
|
|
8964
|
+
margin: 0;
|
|
8965
|
+
border: 0;
|
|
8966
|
+
border-collapse: separate;
|
|
8967
|
+
border-spacing: 0;
|
|
8968
|
+
background: transparent;
|
|
8969
|
+
color: inherit;
|
|
8970
|
+
font: inherit;
|
|
8971
|
+
}
|
|
8972
|
+
.table-focus tr,
|
|
8973
|
+
.table-focus td,
|
|
8974
|
+
.table-focus th {
|
|
8975
|
+
border: 0;
|
|
8976
|
+
}
|
|
8977
|
+
.table-focus td,
|
|
8978
|
+
.table-focus th {
|
|
8979
|
+
vertical-align: middle;
|
|
8980
|
+
word-break: break-word;
|
|
8981
|
+
}
|
|
8982
|
+
.table-focus p {
|
|
8983
|
+
margin: 0;
|
|
8984
|
+
}
|
|
8985
|
+
|
|
8986
|
+
.table-caption {
|
|
8987
|
+
font-family: var(--lsg-font-family-primary);
|
|
8988
|
+
}
|
|
8822
8989
|
.cmp-vtba-form__field {
|
|
8823
8990
|
display: flex;
|
|
8824
8991
|
flex-direction: column;
|
package/dist/index.js
CHANGED
|
@@ -4546,6 +4546,43 @@ var LsgTabs = function (_a) {
|
|
|
4546
4546
|
}));
|
|
4547
4547
|
};
|
|
4548
4548
|
|
|
4549
|
+
/**
|
|
4550
|
+
* Storybook representation of the AEM LSG table markup.
|
|
4551
|
+
* It deliberately emits the same Style System class contract as AEM.
|
|
4552
|
+
*/
|
|
4553
|
+
var LsgTable = function (_a) {
|
|
4554
|
+
var headers = _a.headers,
|
|
4555
|
+
rows = _a.rows,
|
|
4556
|
+
_b = _a.headerBackground,
|
|
4557
|
+
headerBackground = _b === void 0 ? "primary" : _b,
|
|
4558
|
+
_c = _a.accentColors,
|
|
4559
|
+
accentColors = _c === void 0 ? "black" : _c,
|
|
4560
|
+
_d = _a.noAlternatingRows,
|
|
4561
|
+
noAlternatingRows = _d === void 0 ? false : _d,
|
|
4562
|
+
caption = _a.caption,
|
|
4563
|
+
id = _a.id,
|
|
4564
|
+
className = _a.className;
|
|
4565
|
+
var wrapperClassName = ["table-focus", "background-color-".concat(headerBackground), "accent-color-".concat(accentColors), "no-alternating-rows-".concat(noAlternatingRows), className].filter(Boolean).join(" ");
|
|
4566
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
4567
|
+
id: id,
|
|
4568
|
+
className: wrapperClassName
|
|
4569
|
+
}, /*#__PURE__*/React.createElement("table", null, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, headers.map(function (cell, index) {
|
|
4570
|
+
return /*#__PURE__*/React.createElement("td", {
|
|
4571
|
+
key: "header-".concat(index)
|
|
4572
|
+
}, cell);
|
|
4573
|
+
})), rows.map(function (row, rowIndex) {
|
|
4574
|
+
return /*#__PURE__*/React.createElement("tr", {
|
|
4575
|
+
key: "row-".concat(rowIndex)
|
|
4576
|
+
}, row.map(function (cell, cellIndex) {
|
|
4577
|
+
return /*#__PURE__*/React.createElement("td", {
|
|
4578
|
+
key: "cell-".concat(rowIndex, "-").concat(cellIndex)
|
|
4579
|
+
}, cell);
|
|
4580
|
+
}));
|
|
4581
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
4582
|
+
className: "table-caption"
|
|
4583
|
+
}, caption));
|
|
4584
|
+
};
|
|
4585
|
+
|
|
4549
4586
|
var LsgFormFieldText = function (_a) {
|
|
4550
4587
|
var _b = _a.id,
|
|
4551
4588
|
id = _b === void 0 ? "field-text" : _b,
|
|
@@ -5306,6 +5343,7 @@ var BASE_COMPONENTS = {
|
|
|
5306
5343
|
LsgFooter: LsgFooter,
|
|
5307
5344
|
LsgHero: LsgHero,
|
|
5308
5345
|
LsgTabs: LsgTabs,
|
|
5346
|
+
LsgTable: LsgTable,
|
|
5309
5347
|
LsgFormContainer: LsgFormContainer,
|
|
5310
5348
|
LsgFormFieldText: LsgFormFieldText,
|
|
5311
5349
|
LsgFormFieldEmail: LsgFormFieldEmail,
|
|
@@ -5354,7 +5392,8 @@ function createThemeComponents(themeName) {
|
|
|
5354
5392
|
LsgFormFieldConsent: createThemeComponent(themeName, "form-field-consent", BASE_COMPONENTS.LsgFormFieldConsent),
|
|
5355
5393
|
LsgFormPolicyNotice: createThemeComponent(themeName, "form-policy-notice", BASE_COMPONENTS.LsgFormPolicyNotice),
|
|
5356
5394
|
LsgFormStep: createThemeComponent(themeName, "form-step", BASE_COMPONENTS.LsgFormStep),
|
|
5357
|
-
LsgTabs: createThemeComponent(themeName, "tabs", BASE_COMPONENTS.LsgTabs)
|
|
5395
|
+
LsgTabs: createThemeComponent(themeName, "tabs", BASE_COMPONENTS.LsgTabs),
|
|
5396
|
+
LsgTable: createThemeComponent(themeName, "table", BASE_COMPONENTS.LsgTable)
|
|
5358
5397
|
};
|
|
5359
5398
|
}
|
|
5360
5399
|
|
|
@@ -5376,6 +5415,7 @@ var Theme1LsgButton = theme1Components.LsgButton,
|
|
|
5376
5415
|
Theme1LsgFooter = theme1Components.LsgFooter,
|
|
5377
5416
|
Theme1LsgHero = theme1Components.LsgHero;
|
|
5378
5417
|
theme1Components.LsgTabs;
|
|
5418
|
+
var Theme1LsgTable = theme1Components.LsgTable;
|
|
5379
5419
|
// Form components
|
|
5380
5420
|
theme1Components.LsgFormContainer;
|
|
5381
5421
|
theme1Components.LsgFormFieldText;
|
|
@@ -5404,7 +5444,8 @@ var Theme2LsgButton = theme2Components.LsgButton,
|
|
|
5404
5444
|
Theme2LsgQuickLinks = theme2Components.LsgQuickLinks,
|
|
5405
5445
|
Theme2LsgSocialMediaIcons = theme2Components.LsgSocialMediaIcons,
|
|
5406
5446
|
Theme2LsgFooter = theme2Components.LsgFooter,
|
|
5407
|
-
Theme2LsgHero = theme2Components.LsgHero
|
|
5447
|
+
Theme2LsgHero = theme2Components.LsgHero,
|
|
5448
|
+
Theme2LsgTable = theme2Components.LsgTable;
|
|
5408
5449
|
// Form components
|
|
5409
5450
|
theme2Components.LsgFormContainer;
|
|
5410
5451
|
theme2Components.LsgFormFieldText;
|
|
@@ -5432,7 +5473,8 @@ var Theme3LsgButton = theme3Components.LsgButton,
|
|
|
5432
5473
|
Theme3LsgQuickLinks = theme3Components.LsgQuickLinks,
|
|
5433
5474
|
Theme3LsgSocialMediaIcons = theme3Components.LsgSocialMediaIcons,
|
|
5434
5475
|
Theme3LsgFooter = theme3Components.LsgFooter,
|
|
5435
|
-
Theme3LsgHero = theme3Components.LsgHero
|
|
5476
|
+
Theme3LsgHero = theme3Components.LsgHero,
|
|
5477
|
+
Theme3LsgTable = theme3Components.LsgTable;
|
|
5436
5478
|
// Form components
|
|
5437
5479
|
theme3Components.LsgFormContainer;
|
|
5438
5480
|
theme3Components.LsgFormFieldText;
|
|
@@ -5463,6 +5505,7 @@ exports.LsgQuickLinks = LsgQuickLinks;
|
|
|
5463
5505
|
exports.LsgSearchOverlay = LsgSearchOverlay;
|
|
5464
5506
|
exports.LsgSearchTrigger = LsgSearchTrigger;
|
|
5465
5507
|
exports.LsgSocialMediaIcons = LsgSocialMediaIcons;
|
|
5508
|
+
exports.LsgTable = LsgTable;
|
|
5466
5509
|
exports.Theme1LsgBanner = Theme1LsgBanner;
|
|
5467
5510
|
exports.Theme1LsgBreadcrumb = Theme1LsgBreadcrumb;
|
|
5468
5511
|
exports.Theme1LsgButton = Theme1LsgButton;
|
|
@@ -5479,6 +5522,7 @@ exports.Theme1LsgQuickLinks = Theme1LsgQuickLinks;
|
|
|
5479
5522
|
exports.Theme1LsgSearchOverlay = Theme1LsgSearchOverlay;
|
|
5480
5523
|
exports.Theme1LsgSearchTrigger = Theme1LsgSearchTrigger;
|
|
5481
5524
|
exports.Theme1LsgSocialMediaIcons = Theme1LsgSocialMediaIcons;
|
|
5525
|
+
exports.Theme1LsgTable = Theme1LsgTable;
|
|
5482
5526
|
exports.Theme2LsgBanner = Theme2LsgBanner;
|
|
5483
5527
|
exports.Theme2LsgBreadcrumb = Theme2LsgBreadcrumb;
|
|
5484
5528
|
exports.Theme2LsgButton = Theme2LsgButton;
|
|
@@ -5495,6 +5539,7 @@ exports.Theme2LsgQuickLinks = Theme2LsgQuickLinks;
|
|
|
5495
5539
|
exports.Theme2LsgSearchOverlay = Theme2LsgSearchOverlay;
|
|
5496
5540
|
exports.Theme2LsgSearchTrigger = Theme2LsgSearchTrigger;
|
|
5497
5541
|
exports.Theme2LsgSocialMediaIcons = Theme2LsgSocialMediaIcons;
|
|
5542
|
+
exports.Theme2LsgTable = Theme2LsgTable;
|
|
5498
5543
|
exports.Theme3LsgBanner = Theme3LsgBanner;
|
|
5499
5544
|
exports.Theme3LsgBreadcrumb = Theme3LsgBreadcrumb;
|
|
5500
5545
|
exports.Theme3LsgButton = Theme3LsgButton;
|
|
@@ -5511,6 +5556,7 @@ exports.Theme3LsgQuickLinks = Theme3LsgQuickLinks;
|
|
|
5511
5556
|
exports.Theme3LsgSearchOverlay = Theme3LsgSearchOverlay;
|
|
5512
5557
|
exports.Theme3LsgSearchTrigger = Theme3LsgSearchTrigger;
|
|
5513
5558
|
exports.Theme3LsgSocialMediaIcons = Theme3LsgSocialMediaIcons;
|
|
5559
|
+
exports.Theme3LsgTable = Theme3LsgTable;
|
|
5514
5560
|
exports.getTelValue = getTelValue;
|
|
5515
5561
|
exports.initTelPickers = initTelPickers;
|
|
5516
5562
|
exports.theme1Components = theme1Components;
|