@tokenami/config 0.0.13 → 0.0.14

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.d.ts CHANGED
@@ -8,62 +8,18 @@ declare const defaultConfig: {
8
8
  readonly aliases: {};
9
9
  readonly selectors: {
10
10
  readonly active: string;
11
- readonly 'any-link': string;
12
- readonly checked: string;
13
- readonly current: string;
14
- readonly default: string;
15
- readonly defined: string;
11
+ readonly after: string;
12
+ readonly before: string;
16
13
  readonly disabled: string;
17
- readonly empty: string;
18
- readonly enabled: string;
19
- readonly first: string;
14
+ readonly even: string;
20
15
  readonly 'first-child': string;
21
- readonly 'first-of-type': string;
22
16
  readonly focus: string;
23
17
  readonly 'focus-visible': string;
24
18
  readonly 'focus-within': string;
25
- readonly fullscreen: string;
26
19
  readonly hover: string;
27
- readonly 'in-range': string;
28
- readonly indeterminate: string;
29
- readonly invalid: string;
30
20
  readonly 'last-child': string;
31
- readonly 'last-of-type': string;
32
- readonly left: string;
33
- readonly link: string;
34
- readonly 'local-link': string;
35
- readonly 'nth-col': string;
36
- readonly 'nth-last-col': string;
37
- readonly 'only-child': string;
38
- readonly 'only-of-type': string;
39
- readonly optional: string;
40
- readonly 'out-of-range': string;
41
- readonly paused: string;
42
- readonly 'picture-in-picture': string;
43
- readonly 'placeholder-shown': string;
44
- readonly playing: string;
45
- readonly 'read-only': string;
46
- readonly 'read-write': string;
47
- readonly required: string;
48
- readonly right: string;
49
- readonly root: string;
50
- readonly scope: string;
51
- readonly target: string;
52
- readonly 'user-invalid': string;
53
- readonly 'user-valid': string;
54
- readonly valid: string;
55
- readonly visited: string;
56
- readonly after: string;
57
- readonly backdrop: string;
58
- readonly before: string;
59
- readonly cue: string;
60
- readonly 'cue-region': string;
61
- readonly 'file-selector-button': string;
62
- readonly 'first-letter': string;
63
- readonly 'first-line': string;
64
- readonly marker: string;
21
+ readonly odd: string;
65
22
  readonly placeholder: string;
66
- readonly selection: string;
67
23
  };
68
24
  readonly properties: {
69
25
  readonly 'accent-color': readonly "color"[];
package/dist/index.js CHANGED
@@ -92,62 +92,18 @@ var defaultConfig = createConfig({
92
92
  aliases: {},
93
93
  selectors: {
94
94
  active: "&:active",
95
- "any-link": "&:any-link",
96
- checked: "&:checked",
97
- current: "&:current",
98
- default: "&:default",
99
- defined: "&:defined",
95
+ after: "&::after",
96
+ before: "&::before",
100
97
  disabled: "&:disabled",
101
- empty: "&:empty",
102
- enabled: "&:enabled",
103
- first: "&:first",
98
+ even: "&:nth-child(even)",
104
99
  "first-child": "&:first-child",
105
- "first-of-type": "&:first-of-type",
106
100
  focus: "&:focus",
107
101
  "focus-visible": "&:focus-visible",
108
102
  "focus-within": "&:focus-within",
109
- fullscreen: "&:fullscreen",
110
103
  hover: "&:hover",
111
- "in-range": "&:in-range",
112
- indeterminate: "&:indeterminate",
113
- invalid: "&:invalid",
114
104
  "last-child": "&:last-child",
115
- "last-of-type": "&:last-of-type",
116
- left: "&:left",
117
- link: "&:link",
118
- "local-link": "&:local-link",
119
- "nth-col": "&:nth-col",
120
- "nth-last-col": "&:nth-last-col",
121
- "only-child": "&:only-child",
122
- "only-of-type": "&:only-of-type",
123
- optional: "&:optional",
124
- "out-of-range": "&:out-of-range",
125
- paused: "&:paused",
126
- "picture-in-picture": "&:picture-in-picture",
127
- "placeholder-shown": "&:placeholder-shown",
128
- playing: "&:playing",
129
- "read-only": "&:read-only",
130
- "read-write": "&:read-write",
131
- required: "&:required",
132
- right: "&:right",
133
- root: "&:root",
134
- scope: "&:scope",
135
- target: "&:target",
136
- "user-invalid": "&:user-invalid",
137
- "user-valid": "&:user-valid",
138
- valid: "&:valid",
139
- visited: "&:visited",
140
- after: "&::after",
141
- backdrop: "&::backdrop",
142
- before: "&::before",
143
- cue: "&::cue",
144
- "cue-region": "&::cue-region",
145
- "file-selector-button": "&::file-selector-button",
146
- "first-letter": "&::first-letter",
147
- "first-line": "&::first-line",
148
- marker: "&::marker",
149
- placeholder: "&::placeholder",
150
- selection: "&::selection"
105
+ odd: "&:nth-child(odd)",
106
+ placeholder: "&::placeholder"
151
107
  },
152
108
  properties: {
153
109
  "accent-color": ["color"],
package/dist/index.mjs CHANGED
@@ -44,62 +44,18 @@ var defaultConfig = createConfig({
44
44
  aliases: {},
45
45
  selectors: {
46
46
  active: "&:active",
47
- "any-link": "&:any-link",
48
- checked: "&:checked",
49
- current: "&:current",
50
- default: "&:default",
51
- defined: "&:defined",
47
+ after: "&::after",
48
+ before: "&::before",
52
49
  disabled: "&:disabled",
53
- empty: "&:empty",
54
- enabled: "&:enabled",
55
- first: "&:first",
50
+ even: "&:nth-child(even)",
56
51
  "first-child": "&:first-child",
57
- "first-of-type": "&:first-of-type",
58
52
  focus: "&:focus",
59
53
  "focus-visible": "&:focus-visible",
60
54
  "focus-within": "&:focus-within",
61
- fullscreen: "&:fullscreen",
62
55
  hover: "&:hover",
63
- "in-range": "&:in-range",
64
- indeterminate: "&:indeterminate",
65
- invalid: "&:invalid",
66
56
  "last-child": "&:last-child",
67
- "last-of-type": "&:last-of-type",
68
- left: "&:left",
69
- link: "&:link",
70
- "local-link": "&:local-link",
71
- "nth-col": "&:nth-col",
72
- "nth-last-col": "&:nth-last-col",
73
- "only-child": "&:only-child",
74
- "only-of-type": "&:only-of-type",
75
- optional: "&:optional",
76
- "out-of-range": "&:out-of-range",
77
- paused: "&:paused",
78
- "picture-in-picture": "&:picture-in-picture",
79
- "placeholder-shown": "&:placeholder-shown",
80
- playing: "&:playing",
81
- "read-only": "&:read-only",
82
- "read-write": "&:read-write",
83
- required: "&:required",
84
- right: "&:right",
85
- root: "&:root",
86
- scope: "&:scope",
87
- target: "&:target",
88
- "user-invalid": "&:user-invalid",
89
- "user-valid": "&:user-valid",
90
- valid: "&:valid",
91
- visited: "&:visited",
92
- after: "&::after",
93
- backdrop: "&::backdrop",
94
- before: "&::before",
95
- cue: "&::cue",
96
- "cue-region": "&::cue-region",
97
- "file-selector-button": "&::file-selector-button",
98
- "first-letter": "&::first-letter",
99
- "first-line": "&::first-line",
100
- marker: "&::marker",
101
- placeholder: "&::placeholder",
102
- selection: "&::selection"
57
+ odd: "&:nth-child(odd)",
58
+ placeholder: "&::placeholder"
103
59
  },
104
60
  properties: {
105
61
  "accent-color": ["color"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenami/config",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  "csstype": "^3.1.2",
18
18
  "tsup": "^7.0.0",
19
19
  "typescript": "^5.1.3",
20
- "@tokenami/dev": "0.0.13"
20
+ "@tokenami/dev": "0.0.14"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "tsup src/index.ts --format=esm,cjs --dts",