@photoroom/ui 0.1.181 → 0.1.183
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/colors.css +4 -0
- package/components/action/Button/Button.d.ts.map +1 -1
- package/components/action/HeroButton/HeroButton.d.ts.map +1 -1
- package/components/collections/CommonMenu/MenuItemButton.d.ts.map +1 -1
- package/components/content/BatchTile/BatchTile.d.ts.map +1 -1
- package/components/content/ComparisonSlider/ComparisonSlider.d.ts.map +1 -1
- package/components/content/SelectionTile/SelectionTile.d.ts.map +1 -1
- package/components/editor/SelectionObjectBox/MoveableCustomRotation.d.ts.map +1 -1
- package/components/editor/SelectionObjectBox/MoveableSelectionObjectBox.d.ts.map +1 -1
- package/components/editor/ZoomPill/ZoomPillButton.d.ts.map +1 -1
- package/components/input/CheckboxPullDown/CheckboxPullDown.d.ts.map +1 -1
- package/components/input/DomainField/DomainField.d.ts.map +1 -1
- package/components/input/ImagePicker/ImagePicker.d.ts.map +1 -1
- package/components/input/TextInput/TextInput.d.ts.map +1 -1
- package/components/multiplayer/ActivityRow/ActivityRow.d.ts.map +1 -1
- package/components/status/LimitGauge/LimitGauge.d.ts.map +1 -1
- package/components/status/ListingGauge/ListingGauge.d.ts.map +1 -1
- package/components/status/Notification/Notification.d.ts.map +1 -1
- package/components/structure/PanelHeader/PanelHeaderLeading.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +450 -440
- package/package.json +2 -1
- package/theme.css +50 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@photoroom/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.183",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Photoroom design system components",
|
|
6
6
|
"sideEffects": [
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
44
44
|
"@radix-ui/react-context-menu": "2.2.16",
|
|
45
45
|
"@radix-ui/react-dialog": "1.1.15",
|
|
46
|
+
"@radix-ui/react-direction": "^1.1.1",
|
|
46
47
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
47
48
|
"@radix-ui/react-menu": "2.1.16",
|
|
48
49
|
"@radix-ui/react-popover": "1.1.15",
|
package/theme.css
CHANGED
|
@@ -118,6 +118,8 @@
|
|
|
118
118
|
--color-background-subdued: var(--color-background-subdued);
|
|
119
119
|
--color-background-subdued-hover: var(--color-background-subdued-hover);
|
|
120
120
|
--color-background-subdued-down: var(--color-background-subdued-down);
|
|
121
|
+
--color-background-borderless-subdued-hover: var(--color-background-borderless-subdued-hover);
|
|
122
|
+
--color-background-borderless-subdued-down: var(--color-background-borderless-subdued-down);
|
|
121
123
|
--color-background-accent: var(--color-background-accent);
|
|
122
124
|
--color-background-accent-hover: var(--color-background-accent-hover);
|
|
123
125
|
--color-background-accent-down: var(--color-background-accent-down);
|
|
@@ -713,49 +715,49 @@
|
|
|
713
715
|
* https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12592
|
|
714
716
|
*/
|
|
715
717
|
@utility text-to-leading-300 {
|
|
716
|
-
margin-
|
|
718
|
+
margin-inline-start: 6px;
|
|
717
719
|
}
|
|
718
720
|
@utility text-to-leading-400 {
|
|
719
|
-
margin-
|
|
721
|
+
margin-inline-start: 7px;
|
|
720
722
|
}
|
|
721
723
|
@utility text-to-leading-500 {
|
|
722
|
-
margin-
|
|
724
|
+
margin-inline-start: 8px;
|
|
723
725
|
}
|
|
724
726
|
@utility text-to-leading-600 {
|
|
725
|
-
margin-
|
|
727
|
+
margin-inline-start: 10px;
|
|
726
728
|
}
|
|
727
729
|
@utility text-to-leading-700 {
|
|
728
|
-
margin-
|
|
730
|
+
margin-inline-start: 12px;
|
|
729
731
|
}
|
|
730
732
|
@utility text-to-leading-compact-300 {
|
|
731
|
-
margin-
|
|
733
|
+
margin-inline-start: 3px;
|
|
732
734
|
}
|
|
733
735
|
@utility text-to-leading-compact-400 {
|
|
734
|
-
margin-
|
|
736
|
+
margin-inline-start: 3.3px;
|
|
735
737
|
}
|
|
736
738
|
@utility text-to-leading-compact-500 {
|
|
737
|
-
margin-
|
|
739
|
+
margin-inline-start: 4px;
|
|
738
740
|
}
|
|
739
741
|
@utility text-to-leading-compact-600 {
|
|
740
|
-
margin-
|
|
742
|
+
margin-inline-start: 5px;
|
|
741
743
|
}
|
|
742
744
|
@utility text-to-leading-compact-700 {
|
|
743
|
-
margin-
|
|
745
|
+
margin-inline-start: 6px;
|
|
744
746
|
}
|
|
745
747
|
@utility text-to-leading-spacious-300 {
|
|
746
|
-
margin-
|
|
748
|
+
margin-inline-start: 8px;
|
|
747
749
|
}
|
|
748
750
|
@utility text-to-leading-spacious-400 {
|
|
749
|
-
margin-
|
|
751
|
+
margin-inline-start: 10px;
|
|
750
752
|
}
|
|
751
753
|
@utility text-to-leading-spacious-500 {
|
|
752
|
-
margin-
|
|
754
|
+
margin-inline-start: 12px;
|
|
753
755
|
}
|
|
754
756
|
@utility text-to-leading-spacious-600 {
|
|
755
|
-
margin-
|
|
757
|
+
margin-inline-start: 14px;
|
|
756
758
|
}
|
|
757
759
|
@utility text-to-leading-spacious-700 {
|
|
758
|
-
margin-
|
|
760
|
+
margin-inline-start: 17px;
|
|
759
761
|
}
|
|
760
762
|
|
|
761
763
|
/*
|
|
@@ -930,6 +932,12 @@
|
|
|
930
932
|
@utility content-to-edge-pr-* {
|
|
931
933
|
padding-right: --value(--content-edge-*);
|
|
932
934
|
}
|
|
935
|
+
@utility content-to-edge-ps-* {
|
|
936
|
+
padding-inline-start: --value(--content-edge-*);
|
|
937
|
+
}
|
|
938
|
+
@utility content-to-edge-pe-* {
|
|
939
|
+
padding-inline-end: --value(--content-edge-*);
|
|
940
|
+
}
|
|
933
941
|
@utility content-to-edge-px-* {
|
|
934
942
|
padding-inline: --value(--content-edge-*);
|
|
935
943
|
}
|
|
@@ -945,6 +953,12 @@
|
|
|
945
953
|
@utility content-to-edge-spacious-px-* {
|
|
946
954
|
padding-inline: --value(--content-edge-spacious-*);
|
|
947
955
|
}
|
|
956
|
+
@utility content-to-edge-spacious-ps-* {
|
|
957
|
+
padding-inline-start: --value(--content-edge-spacious-*);
|
|
958
|
+
}
|
|
959
|
+
@utility content-to-edge-spacious-pe-* {
|
|
960
|
+
padding-inline-end: --value(--content-edge-spacious-*);
|
|
961
|
+
}
|
|
948
962
|
|
|
949
963
|
/* Icon to edge (replaces src/plugins/icon-to-edge.js) */
|
|
950
964
|
@utility icon-to-edge-pl-* {
|
|
@@ -953,6 +967,12 @@
|
|
|
953
967
|
@utility icon-to-edge-pr-* {
|
|
954
968
|
padding-right: --value(--icon-edge-*);
|
|
955
969
|
}
|
|
970
|
+
@utility icon-to-edge-ps-* {
|
|
971
|
+
padding-inline-start: --value(--icon-edge-*);
|
|
972
|
+
}
|
|
973
|
+
@utility icon-to-edge-pe-* {
|
|
974
|
+
padding-inline-end: --value(--icon-edge-*);
|
|
975
|
+
}
|
|
956
976
|
@utility icon-to-edge-py-* {
|
|
957
977
|
padding-block: --value(--icon-edge-*);
|
|
958
978
|
}
|
|
@@ -962,6 +982,12 @@
|
|
|
962
982
|
@utility icon-to-edge-spacious-pr-* {
|
|
963
983
|
padding-right: --value(--icon-edge-spacious-*);
|
|
964
984
|
}
|
|
985
|
+
@utility icon-to-edge-spacious-ps-* {
|
|
986
|
+
padding-inline-start: --value(--icon-edge-spacious-*);
|
|
987
|
+
}
|
|
988
|
+
@utility icon-to-edge-spacious-pe-* {
|
|
989
|
+
padding-inline-end: --value(--icon-edge-spacious-*);
|
|
990
|
+
}
|
|
965
991
|
|
|
966
992
|
/*
|
|
967
993
|
* Size utilities (replaces src/plugins/size.js)
|
|
@@ -1417,4 +1443,13 @@
|
|
|
1417
1443
|
input[type="search"]::-webkit-search-decoration {
|
|
1418
1444
|
appearance: none;
|
|
1419
1445
|
}
|
|
1446
|
+
|
|
1447
|
+
/*
|
|
1448
|
+
* @tailwindcss/forms paints the select dropdown chevron with a physical
|
|
1449
|
+
* `background-position: right 8px center`, which doesn't flip in RTL and
|
|
1450
|
+
* causes the chevron to overlap the option text. Mirror it for RTL.
|
|
1451
|
+
*/
|
|
1452
|
+
[dir="rtl"] select {
|
|
1453
|
+
background-position: left 8px center;
|
|
1454
|
+
}
|
|
1420
1455
|
}
|