@x-plat/design-system 0.7.0 → 0.7.1
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/components/Badge/index.cjs +10 -7
- package/dist/components/Badge/index.css +13 -13
- package/dist/components/Badge/index.d.cts +3 -19
- package/dist/components/Badge/index.d.ts +3 -19
- package/dist/components/Badge/index.js +8 -6
- package/dist/components/NotificationBadge/index.cjs +68 -0
- package/dist/components/NotificationBadge/index.css +75 -0
- package/dist/components/NotificationBadge/index.d.cts +47 -0
- package/dist/components/NotificationBadge/index.d.ts +47 -0
- package/dist/components/NotificationBadge/index.js +40 -0
- package/dist/components/Table/index.cjs +2 -0
- package/dist/components/Table/index.d.cts +2 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.js +2 -0
- package/dist/components/index.cjs +268 -264
- package/dist/components/index.css +76 -76
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +267 -264
- package/dist/index.cjs +268 -264
- package/dist/index.css +76 -76
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +267 -264
- package/guidelines/AGENT_PROMPT.md +1 -1
- package/guidelines/Guidelines.md +1 -1
- package/guidelines/components/feedback.md +39 -11
- package/guidelines/components/table.md +68 -5
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1574,82 +1574,6 @@
|
|
|
1574
1574
|
height: 60%;
|
|
1575
1575
|
}
|
|
1576
1576
|
|
|
1577
|
-
/* src/components/Badge/badge.scss */
|
|
1578
|
-
.lib-xplat-badge {
|
|
1579
|
-
position: relative;
|
|
1580
|
-
display: inline-flex;
|
|
1581
|
-
}
|
|
1582
|
-
.lib-xplat-badge.sm .badge-indicator {
|
|
1583
|
-
min-width: var(--spacing-space-4);
|
|
1584
|
-
height: var(--spacing-space-4);
|
|
1585
|
-
font-family: var(--semantic-typo-caption-2-r-font);
|
|
1586
|
-
font-size: var(--semantic-typo-caption-2-r-size);
|
|
1587
|
-
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
1588
|
-
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
1589
|
-
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
1590
|
-
padding: 0 var(--spacing-space-1);
|
|
1591
|
-
}
|
|
1592
|
-
.lib-xplat-badge.sm .badge-indicator.dot {
|
|
1593
|
-
min-width: var(--spacing-space-2);
|
|
1594
|
-
height: var(--spacing-space-2);
|
|
1595
|
-
}
|
|
1596
|
-
.lib-xplat-badge.lg .badge-indicator {
|
|
1597
|
-
min-width: var(--spacing-space-6);
|
|
1598
|
-
height: var(--spacing-space-6);
|
|
1599
|
-
font-family: var(--semantic-typo-caption-1-r-font);
|
|
1600
|
-
font-size: var(--semantic-typo-caption-1-r-size);
|
|
1601
|
-
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
1602
|
-
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
1603
|
-
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
1604
|
-
padding: 0 var(--spacing-space-2);
|
|
1605
|
-
}
|
|
1606
|
-
.lib-xplat-badge.lg .badge-indicator.dot {
|
|
1607
|
-
min-width: var(--spacing-space-2);
|
|
1608
|
-
height: var(--spacing-space-2);
|
|
1609
|
-
}
|
|
1610
|
-
.lib-xplat-badge .badge-indicator {
|
|
1611
|
-
position: absolute;
|
|
1612
|
-
top: 0;
|
|
1613
|
-
right: 0;
|
|
1614
|
-
transform: translate(50%, -50%);
|
|
1615
|
-
display: flex;
|
|
1616
|
-
align-items: center;
|
|
1617
|
-
justify-content: center;
|
|
1618
|
-
border-radius: var(--spacing-radius-full);
|
|
1619
|
-
color: var(--semantic-text-inverse);
|
|
1620
|
-
font-family: var(--semantic-typo-caption-2-sb-font);
|
|
1621
|
-
font-size: var(--semantic-typo-caption-2-sb-size);
|
|
1622
|
-
line-height: var(--semantic-typo-caption-2-sb-lh);
|
|
1623
|
-
font-weight: var(--semantic-typo-caption-2-sb-weight);
|
|
1624
|
-
letter-spacing: var(--semantic-typo-caption-2-sb-ls);
|
|
1625
|
-
line-height: 1;
|
|
1626
|
-
min-width: var(--spacing-space-4);
|
|
1627
|
-
height: var(--spacing-space-4);
|
|
1628
|
-
padding: 0 var(--spacing-space-1);
|
|
1629
|
-
box-sizing: border-box;
|
|
1630
|
-
}
|
|
1631
|
-
.lib-xplat-badge .badge-indicator.dot {
|
|
1632
|
-
min-width: var(--spacing-space-2);
|
|
1633
|
-
height: var(--spacing-space-2);
|
|
1634
|
-
padding: 0;
|
|
1635
|
-
}
|
|
1636
|
-
.lib-xplat-badge .badge-indicator.error {
|
|
1637
|
-
background-color: var(--semantic-surface-error-default);
|
|
1638
|
-
}
|
|
1639
|
-
.lib-xplat-badge .badge-indicator.success {
|
|
1640
|
-
background-color: var(--semantic-surface-success-default);
|
|
1641
|
-
}
|
|
1642
|
-
.lib-xplat-badge .badge-indicator.warning {
|
|
1643
|
-
background-color: var(--semantic-surface-warning-default);
|
|
1644
|
-
color: var(--semantic-text-primary);
|
|
1645
|
-
}
|
|
1646
|
-
.lib-xplat-badge .badge-indicator.info {
|
|
1647
|
-
background-color: var(--semantic-surface-info-default);
|
|
1648
|
-
}
|
|
1649
|
-
.lib-xplat-badge .badge-indicator.brand {
|
|
1650
|
-
background-color: var(--semantic-surface-brand-default);
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
1577
|
/* src/components/Box/box.scss */
|
|
1654
1578
|
.lib-xplat-box {
|
|
1655
1579
|
contain: layout style;
|
|
@@ -3878,6 +3802,82 @@
|
|
|
3878
3802
|
cursor: pointer;
|
|
3879
3803
|
}
|
|
3880
3804
|
|
|
3805
|
+
/* src/components/NotificationBadge/notificationBadge.scss */
|
|
3806
|
+
.lib-xplat-notification-badge {
|
|
3807
|
+
position: relative;
|
|
3808
|
+
display: inline-flex;
|
|
3809
|
+
}
|
|
3810
|
+
.lib-xplat-notification-badge.sm .badge-indicator {
|
|
3811
|
+
min-width: var(--spacing-space-4);
|
|
3812
|
+
height: var(--spacing-space-4);
|
|
3813
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
3814
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
3815
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
3816
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
3817
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
3818
|
+
padding: 0 var(--spacing-space-1);
|
|
3819
|
+
}
|
|
3820
|
+
.lib-xplat-notification-badge.sm .badge-indicator.dot {
|
|
3821
|
+
min-width: var(--spacing-space-2);
|
|
3822
|
+
height: var(--spacing-space-2);
|
|
3823
|
+
}
|
|
3824
|
+
.lib-xplat-notification-badge.lg .badge-indicator {
|
|
3825
|
+
min-width: var(--spacing-space-6);
|
|
3826
|
+
height: var(--spacing-space-6);
|
|
3827
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
3828
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
3829
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
3830
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
3831
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
3832
|
+
padding: 0 var(--spacing-space-2);
|
|
3833
|
+
}
|
|
3834
|
+
.lib-xplat-notification-badge.lg .badge-indicator.dot {
|
|
3835
|
+
min-width: var(--spacing-space-2);
|
|
3836
|
+
height: var(--spacing-space-2);
|
|
3837
|
+
}
|
|
3838
|
+
.lib-xplat-notification-badge .badge-indicator {
|
|
3839
|
+
position: absolute;
|
|
3840
|
+
top: 0;
|
|
3841
|
+
right: 0;
|
|
3842
|
+
transform: translate(50%, -50%);
|
|
3843
|
+
display: flex;
|
|
3844
|
+
align-items: center;
|
|
3845
|
+
justify-content: center;
|
|
3846
|
+
border-radius: var(--spacing-radius-full);
|
|
3847
|
+
color: var(--semantic-text-inverse);
|
|
3848
|
+
font-family: var(--semantic-typo-caption-2-sb-font);
|
|
3849
|
+
font-size: var(--semantic-typo-caption-2-sb-size);
|
|
3850
|
+
line-height: var(--semantic-typo-caption-2-sb-lh);
|
|
3851
|
+
font-weight: var(--semantic-typo-caption-2-sb-weight);
|
|
3852
|
+
letter-spacing: var(--semantic-typo-caption-2-sb-ls);
|
|
3853
|
+
line-height: 1;
|
|
3854
|
+
min-width: var(--spacing-space-4);
|
|
3855
|
+
height: var(--spacing-space-4);
|
|
3856
|
+
padding: 0 var(--spacing-space-1);
|
|
3857
|
+
box-sizing: border-box;
|
|
3858
|
+
}
|
|
3859
|
+
.lib-xplat-notification-badge .badge-indicator.dot {
|
|
3860
|
+
min-width: var(--spacing-space-2);
|
|
3861
|
+
height: var(--spacing-space-2);
|
|
3862
|
+
padding: 0;
|
|
3863
|
+
}
|
|
3864
|
+
.lib-xplat-notification-badge .badge-indicator.error {
|
|
3865
|
+
background-color: var(--semantic-surface-error-default);
|
|
3866
|
+
}
|
|
3867
|
+
.lib-xplat-notification-badge .badge-indicator.success {
|
|
3868
|
+
background-color: var(--semantic-surface-success-default);
|
|
3869
|
+
}
|
|
3870
|
+
.lib-xplat-notification-badge .badge-indicator.warning {
|
|
3871
|
+
background-color: var(--semantic-surface-warning-default);
|
|
3872
|
+
color: var(--semantic-text-primary);
|
|
3873
|
+
}
|
|
3874
|
+
.lib-xplat-notification-badge .badge-indicator.info {
|
|
3875
|
+
background-color: var(--semantic-surface-info-default);
|
|
3876
|
+
}
|
|
3877
|
+
.lib-xplat-notification-badge .badge-indicator.brand {
|
|
3878
|
+
background-color: var(--semantic-surface-brand-default);
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
3881
|
/* src/components/Pagination/pagination.scss */
|
|
3882
3882
|
.lib-xplat-pagination {
|
|
3883
3883
|
display: inline-flex;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ export { Accordion } from './components/Accordion/index.cjs';
|
|
|
3
3
|
export { Alert } from './components/Alert/index.cjs';
|
|
4
4
|
export { AutoResizeTextArea } from './components/AutoResizeTextArea/index.cjs';
|
|
5
5
|
export { Avatar } from './components/Avatar/index.cjs';
|
|
6
|
-
export { Badge } from './components/Badge/index.cjs';
|
|
7
6
|
export { Box } from './components/Box/index.cjs';
|
|
8
7
|
export { Breadcrumb } from './components/Breadcrumb/index.cjs';
|
|
9
8
|
export { Button } from './components/Button/index.cjs';
|
|
@@ -25,6 +24,7 @@ export { IconButton } from './components/IconButton/index.cjs';
|
|
|
25
24
|
export { ImageSelector } from './components/ImageSelector/index.cjs';
|
|
26
25
|
export { Input, PasswordInput } from './components/Input/index.cjs';
|
|
27
26
|
export { Modal } from './components/Modal/index.cjs';
|
|
27
|
+
export { NotificationBadge as Badge, NotificationBadge } from './components/NotificationBadge/index.cjs';
|
|
28
28
|
export { Pagination } from './components/Pagination/index.cjs';
|
|
29
29
|
export { PopOver } from './components/PopOver/index.cjs';
|
|
30
30
|
export { Progress } from './components/Progress/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export { Accordion } from './components/Accordion/index.js';
|
|
|
3
3
|
export { Alert } from './components/Alert/index.js';
|
|
4
4
|
export { AutoResizeTextArea } from './components/AutoResizeTextArea/index.js';
|
|
5
5
|
export { Avatar } from './components/Avatar/index.js';
|
|
6
|
-
export { Badge } from './components/Badge/index.js';
|
|
7
6
|
export { Box } from './components/Box/index.js';
|
|
8
7
|
export { Breadcrumb } from './components/Breadcrumb/index.js';
|
|
9
8
|
export { Button } from './components/Button/index.js';
|
|
@@ -25,6 +24,7 @@ export { IconButton } from './components/IconButton/index.js';
|
|
|
25
24
|
export { ImageSelector } from './components/ImageSelector/index.js';
|
|
26
25
|
export { Input, PasswordInput } from './components/Input/index.js';
|
|
27
26
|
export { Modal } from './components/Modal/index.js';
|
|
27
|
+
export { NotificationBadge as Badge, NotificationBadge } from './components/NotificationBadge/index.js';
|
|
28
28
|
export { Pagination } from './components/Pagination/index.js';
|
|
29
29
|
export { PopOver } from './components/PopOver/index.js';
|
|
30
30
|
export { Progress } from './components/Progress/index.js';
|