@eqtylab/equality 2.5.0 → 3.0.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/dist/global-theme-config.css +9 -1
- package/dist/index.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/theme-preflight-global.css +229 -222
- package/dist/theme-preflight-scoped.css +229 -223
- package/dist/theme.module.css +1 -1
- package/dist/theme.module.module.css.module.css +37 -37
- package/package.json +6 -3
|
@@ -688,17 +688,17 @@
|
|
|
688
688
|
--color-text-tertiary: color(display-p3 0.5021 0.5021 0.5021);
|
|
689
689
|
}
|
|
690
690
|
@layer base {
|
|
691
|
-
|
|
691
|
+
[data-equality-root], [data-equality-root] *, [data-equality-root] ::after, [data-equality-root] ::before, [data-equality-root] ::backdrop, [data-equality-root] ::file-selector-button {
|
|
692
692
|
box-sizing: border-box;
|
|
693
693
|
margin: 0;
|
|
694
694
|
padding: 0;
|
|
695
695
|
border: 0 solid;
|
|
696
696
|
border-color: var(--color-border);
|
|
697
697
|
}
|
|
698
|
-
|
|
698
|
+
[data-equality-root] button {
|
|
699
699
|
cursor: pointer;
|
|
700
700
|
}
|
|
701
|
-
|
|
701
|
+
[data-equality-root] {
|
|
702
702
|
line-height: 1.5;
|
|
703
703
|
-webkit-text-size-adjust: 100%;
|
|
704
704
|
tab-size: 4;
|
|
@@ -709,72 +709,72 @@
|
|
|
709
709
|
-webkit-font-smoothing: antialiased;
|
|
710
710
|
-moz-osx-font-smoothing: grayscale;
|
|
711
711
|
}
|
|
712
|
-
|
|
712
|
+
[data-equality-root] hr {
|
|
713
713
|
height: 0;
|
|
714
714
|
color: inherit;
|
|
715
715
|
border-top-width: 1px;
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
[data-equality-root] abbr:where([title]) {
|
|
718
718
|
-webkit-text-decoration: underline dotted;
|
|
719
719
|
text-decoration: underline dotted;
|
|
720
720
|
}
|
|
721
|
-
|
|
721
|
+
[data-equality-root] h1, [data-equality-root] h2, [data-equality-root] h3, [data-equality-root] h4, [data-equality-root] h5, [data-equality-root] h6 {
|
|
722
722
|
font-size: inherit;
|
|
723
723
|
font-weight: inherit;
|
|
724
724
|
}
|
|
725
|
-
|
|
725
|
+
[data-equality-root] a {
|
|
726
726
|
color: inherit;
|
|
727
727
|
-webkit-text-decoration: inherit;
|
|
728
728
|
text-decoration: inherit;
|
|
729
729
|
}
|
|
730
|
-
|
|
730
|
+
[data-equality-root] b, [data-equality-root] strong {
|
|
731
731
|
font-weight: bolder;
|
|
732
732
|
}
|
|
733
|
-
|
|
733
|
+
[data-equality-root] code, [data-equality-root] kbd, [data-equality-root] samp, [data-equality-root] pre {
|
|
734
734
|
font-family: var(--font-mono), monospace;
|
|
735
735
|
font-size: 1em;
|
|
736
736
|
}
|
|
737
|
-
|
|
737
|
+
[data-equality-root] small {
|
|
738
738
|
font-size: 80%;
|
|
739
739
|
}
|
|
740
|
-
|
|
740
|
+
[data-equality-root] sub, [data-equality-root] sup {
|
|
741
741
|
font-size: 75%;
|
|
742
742
|
line-height: 0;
|
|
743
743
|
position: relative;
|
|
744
744
|
vertical-align: baseline;
|
|
745
745
|
}
|
|
746
|
-
|
|
746
|
+
[data-equality-root] sub {
|
|
747
747
|
bottom: -0.25em;
|
|
748
748
|
}
|
|
749
|
-
|
|
749
|
+
[data-equality-root] sup {
|
|
750
750
|
top: -0.5em;
|
|
751
751
|
}
|
|
752
|
-
|
|
752
|
+
[data-equality-root] table {
|
|
753
753
|
text-indent: 0;
|
|
754
754
|
border-color: inherit;
|
|
755
755
|
border-collapse: collapse;
|
|
756
756
|
}
|
|
757
|
-
|
|
757
|
+
[data-equality-root] :-moz-focusring {
|
|
758
758
|
outline: auto;
|
|
759
759
|
}
|
|
760
|
-
|
|
760
|
+
[data-equality-root] progress {
|
|
761
761
|
vertical-align: baseline;
|
|
762
762
|
}
|
|
763
|
-
|
|
763
|
+
[data-equality-root] summary {
|
|
764
764
|
display: list-item;
|
|
765
765
|
}
|
|
766
|
-
|
|
766
|
+
[data-equality-root] ol, [data-equality-root] ul, [data-equality-root] menu {
|
|
767
767
|
list-style: none;
|
|
768
768
|
}
|
|
769
|
-
|
|
769
|
+
[data-equality-root] img, [data-equality-root] svg, [data-equality-root] video, [data-equality-root] canvas, [data-equality-root] audio, [data-equality-root] iframe, [data-equality-root] embed, [data-equality-root] object {
|
|
770
770
|
display: block;
|
|
771
771
|
vertical-align: middle;
|
|
772
772
|
}
|
|
773
|
-
|
|
773
|
+
[data-equality-root] img, [data-equality-root] video {
|
|
774
774
|
max-width: 100%;
|
|
775
775
|
height: auto;
|
|
776
776
|
}
|
|
777
|
-
|
|
777
|
+
[data-equality-root] button, [data-equality-root] input, [data-equality-root] select, [data-equality-root] optgroup, [data-equality-root] textarea, [data-equality-root] ::file-selector-button {
|
|
778
778
|
font: inherit;
|
|
779
779
|
font-feature-settings: inherit;
|
|
780
780
|
font-variation-settings: inherit;
|
|
@@ -784,58 +784,58 @@
|
|
|
784
784
|
background-color: transparent;
|
|
785
785
|
opacity: 1;
|
|
786
786
|
}
|
|
787
|
-
|
|
787
|
+
[data-equality-root] :where(select:is([multiple], [size])) optgroup {
|
|
788
788
|
font-weight: bolder;
|
|
789
789
|
}
|
|
790
|
-
|
|
790
|
+
[data-equality-root] :where(select:is([multiple], [size])) optgroup option {
|
|
791
791
|
padding-inline-start: 20px;
|
|
792
792
|
}
|
|
793
|
-
|
|
793
|
+
[data-equality-root] ::file-selector-button {
|
|
794
794
|
margin-inline-end: 4px;
|
|
795
795
|
}
|
|
796
|
-
|
|
796
|
+
[data-equality-root] ::placeholder {
|
|
797
797
|
opacity: 1;
|
|
798
798
|
}
|
|
799
799
|
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
800
|
-
|
|
800
|
+
[data-equality-root] ::placeholder {
|
|
801
801
|
color: currentcolor;
|
|
802
802
|
@supports (color: color-mix(in lab, red, red)) {
|
|
803
803
|
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
|
|
807
|
+
[data-equality-root] textarea {
|
|
808
808
|
resize: vertical;
|
|
809
809
|
}
|
|
810
|
-
|
|
810
|
+
[data-equality-root] ::-webkit-search-decoration {
|
|
811
811
|
-webkit-appearance: none;
|
|
812
812
|
}
|
|
813
|
-
|
|
813
|
+
[data-equality-root] ::-webkit-date-and-time-value {
|
|
814
814
|
min-height: 1lh;
|
|
815
815
|
text-align: inherit;
|
|
816
816
|
}
|
|
817
|
-
|
|
817
|
+
[data-equality-root] ::-webkit-datetime-edit {
|
|
818
818
|
display: inline-flex;
|
|
819
819
|
}
|
|
820
|
-
|
|
820
|
+
[data-equality-root] ::-webkit-datetime-edit-fields-wrapper {
|
|
821
821
|
padding: 0;
|
|
822
822
|
}
|
|
823
|
-
|
|
823
|
+
[data-equality-root] ::-webkit-datetime-edit, [data-equality-root] ::-webkit-datetime-edit-year-field, [data-equality-root] ::-webkit-datetime-edit-month-field, [data-equality-root] ::-webkit-datetime-edit-day-field, [data-equality-root] ::-webkit-datetime-edit-hour-field, [data-equality-root] ::-webkit-datetime-edit-minute-field, [data-equality-root] ::-webkit-datetime-edit-second-field, [data-equality-root] ::-webkit-datetime-edit-millisecond-field, [data-equality-root] ::-webkit-datetime-edit-meridiem-field {
|
|
824
824
|
padding-block: 0;
|
|
825
825
|
}
|
|
826
|
-
|
|
826
|
+
[data-equality-root] ::-webkit-calendar-picker-indicator {
|
|
827
827
|
line-height: 1;
|
|
828
828
|
}
|
|
829
|
-
|
|
829
|
+
[data-equality-root] :-moz-ui-invalid {
|
|
830
830
|
box-shadow: none;
|
|
831
831
|
}
|
|
832
|
-
|
|
832
|
+
[data-equality-root] button, [data-equality-root] input:where([type='button'], [type='reset'], [type='submit']), [data-equality-root] ::file-selector-button {
|
|
833
833
|
appearance: button;
|
|
834
834
|
}
|
|
835
|
-
|
|
835
|
+
[data-equality-root] ::-webkit-inner-spin-button, [data-equality-root] ::-webkit-outer-spin-button {
|
|
836
836
|
height: auto;
|
|
837
837
|
}
|
|
838
|
-
|
|
838
|
+
[data-equality-root] [hidden]:where(:not([hidden='until-found'])) {
|
|
839
839
|
display: none !important;
|
|
840
840
|
}
|
|
841
841
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@eqtylab/equality",
|
|
3
3
|
"description": "EQTYLab's component and token-based design system",
|
|
4
4
|
"homepage": "https://equality.eqtylab.io/",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "3.0.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"component library",
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"import": "./dist/scripts.js",
|
|
26
26
|
"require": "./dist/scripts.cjs"
|
|
27
27
|
},
|
|
28
|
-
"./theme-config.css": "./dist/global-theme-config.css"
|
|
28
|
+
"./theme-config.css": "./dist/global-theme-config.css",
|
|
29
|
+
"./preflight.css": "./dist/theme-preflight-global.css",
|
|
30
|
+
"./preflight-scoped.css": "./dist/theme-preflight-scoped.css"
|
|
29
31
|
},
|
|
30
32
|
"files": [
|
|
31
33
|
"dist",
|
|
@@ -93,7 +95,8 @@
|
|
|
93
95
|
"dev": "pnpm run watch:tokens",
|
|
94
96
|
"build": "pnpm run build:tokens && pnpm run build:lib",
|
|
95
97
|
"build:tokens": "node src/scripts/build-tokens.js && prettier --write ../tokens/equality-tokens.json",
|
|
96
|
-
"build:
|
|
98
|
+
"build:preflight": "node src/scripts/build-preflight.js && prettier --write src/theme/theme-preflight-global.css",
|
|
99
|
+
"build:lib": "pnpm run build:preflight && tsup --config tsup.config.ts && cp src/theme/*.css dist/ && mkdir -p dist/generated && cp src/theme/generated/*.css dist/generated/",
|
|
97
100
|
"watch": "tsup --config tsup.config.ts --watch",
|
|
98
101
|
"watch:tokens": "chokidar '../tokens/equality-tokens.json' --debounce 300 --initial=false -c 'pnpm run build:tokens'",
|
|
99
102
|
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
|