@medyll/cssfabric 0.2.0 → 0.2.1-beta.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.
Files changed (123) hide show
  1. package/README.md +58 -38
  2. package/dist/NewMenu.svelte +41 -0
  3. package/dist/NewMenu.svelte.d.ts +19 -0
  4. package/{_generated → dist/_generated}/cssFabric.vars.json +12 -12
  5. package/dist/_generated/cssFabric.vars.md +268 -0
  6. package/dist/cssFabric/config.d.ts +29 -0
  7. package/dist/cssFabric/config.js +29 -0
  8. package/dist/cssFabric/cssFabricSheet.d.ts +1226 -0
  9. package/dist/cssFabric/cssFabricSheet.js +1270 -0
  10. package/dist/cssFabric/cssProperties.d.ts +27 -0
  11. package/dist/cssFabric/cssProperties.js +343 -0
  12. package/dist/cssFabric/cssVariationsAi.d.ts +12 -0
  13. package/dist/cssFabric/cssVariationsAi.js +111 -0
  14. package/dist/cssFabric/index.d.ts +113 -0
  15. package/dist/cssFabric/index.js +341 -0
  16. package/dist/cssf/README.md +197 -0
  17. package/dist/cssf/cssf.d.ts +1 -0
  18. package/dist/cssf/cssf.js +12 -0
  19. package/dist/cssf/cssfGuide.d.ts +14 -0
  20. package/dist/cssf/cssfGuide.js +50 -0
  21. package/dist/cssf/cssfLib.d.ts +134 -0
  22. package/dist/cssf/cssfLib.js +116 -0
  23. package/dist/cssf/cssfModel.d.ts +8 -0
  24. package/dist/cssf/cssfModel.js +59 -0
  25. package/dist/cssf/cssfPlugin.d.ts +3 -0
  26. package/dist/cssf/cssfPlugin.js +37 -0
  27. package/dist/cssf/cssfTransformer.d.ts +2 -0
  28. package/dist/cssf/cssfTransformer.js +100 -0
  29. package/dist/cssf/index.d.ts +4 -0
  30. package/dist/cssf/index.js +4 -0
  31. package/dist/cssfVsCode/.vscode/launch.json +17 -0
  32. package/dist/cssfVsCode/.vscodeignore +4 -0
  33. package/dist/cssfVsCode/CHANGELOG.md +9 -0
  34. package/dist/cssfVsCode/README.md +65 -0
  35. package/dist/cssfVsCode/language-configuration.json +36 -0
  36. package/dist/cssfVsCode/package.json +40 -0
  37. package/dist/cssfVsCode/syntaxes/cssf.tmLanguage.json +1868 -0
  38. package/dist/cssfVsCode/test.cssf +6 -0
  39. package/dist/cssfVsCode/vsc-extension-quickstart.md +29 -0
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +3 -0
  42. package/{init → dist/init}/importCssVars.d.ts +1 -1
  43. package/{init → dist/init}/importCssVars.js +2 -2
  44. package/dist/scripts/cssfabric.d.ts +24 -0
  45. package/{scripts → dist/scripts}/cssfabric.js +43 -43
  46. package/{scripts → dist/scripts}/cssfabricClassNames.d.ts +14 -14
  47. package/{scripts → dist/scripts}/cssfabricClassNames.js +146 -146
  48. package/dist/scripts/index.d.ts +2 -0
  49. package/{scripts → dist/scripts}/index.js +4 -4
  50. package/{scripts → dist/scripts}/utils.d.ts +5 -5
  51. package/{scripts → dist/scripts}/utils.js +38 -38
  52. package/dist/styles/animation/animation.css +2 -0
  53. package/{styles → dist/styles}/base/base.css +207 -214
  54. package/{styles → dist/styles}/base/base.min.css +1 -1
  55. package/{styles → dist/styles}/box/box.css +1496 -1378
  56. package/dist/styles/box/box.min.css +1 -0
  57. package/{styles → dist/styles}/box/box.responsive.css +7036 -5523
  58. package/dist/styles/box/box.responsive.min.css +1 -0
  59. package/{styles → dist/styles}/color/color.css +1566 -1564
  60. package/{styles → dist/styles}/color/color.responsive.css +7781 -6267
  61. package/dist/styles/color/color.responsive.min.css +1 -0
  62. package/dist/styles/cssfabric.css +5328 -0
  63. package/dist/styles/cssfabric.min.css +1 -0
  64. package/dist/styles/cssfabric.responsive.css +20419 -0
  65. package/dist/styles/cssfabric.responsive.min.css +1 -0
  66. package/{styles → dist/styles}/flex/flex.css +125 -123
  67. package/{styles → dist/styles}/flex/flex.responsive.css +581 -503
  68. package/dist/styles/flex/flex.responsive.min.css +1 -0
  69. package/{styles → dist/styles}/grid/grid.css +120 -118
  70. package/{styles → dist/styles}/grid/grid.responsive.css +501 -483
  71. package/dist/styles/grid/grid.responsive.min.css +1 -0
  72. package/{styles → dist/styles}/menu/menu.css +102 -100
  73. package/{styles → dist/styles}/menu/menu.responsive.css +444 -357
  74. package/dist/styles/menu/menu.responsive.min.css +1 -0
  75. package/{styles → dist/styles}/overflow/overflow.css +61 -59
  76. package/{styles → dist/styles}/overflow/overflow.responsive.css +237 -244
  77. package/dist/styles/overflow/overflow.responsive.min.css +1 -0
  78. package/{styles → dist/styles}/scale/scale.css +720 -718
  79. package/{styles → dist/styles}/scale/scale.responsive.css +3251 -2883
  80. package/dist/styles/scale/scale.responsive.min.css +1 -0
  81. package/{styles → dist/styles}/table/table.css +73 -71
  82. package/{styles → dist/styles}/table/table.responsive.css +371 -295
  83. package/dist/styles/table/table.responsive.min.css +1 -0
  84. package/{styles → dist/styles}/text/text.css +152 -150
  85. package/{styles → dist/styles}/text/text.responsive.css +216 -195
  86. package/dist/styles/text/text.responsive.min.css +1 -0
  87. package/{styles → dist/styles}/theme/theme.css +247 -196
  88. package/{styles → dist/styles}/theme/theme.min.css +1 -1
  89. package/{styles → dist/styles}/vars.css +412 -413
  90. package/dist/styles/vars.min.css +1 -0
  91. package/{styles → dist/styles}/zindex/zindex.css +44 -42
  92. package/package.json +68 -113
  93. package/_generated/index.d.ts +0 -3
  94. package/scripts/cssfabric.d.ts +0 -24
  95. package/scripts/index.d.ts +0 -2
  96. package/styles/animation/animation.css +0 -0
  97. package/styles/box/box.min.css +0 -1
  98. package/styles/box/box.responsive.min.css +0 -1
  99. package/styles/color/color.responsive.min.css +0 -1
  100. package/styles/cssfabric.css +0 -61792
  101. package/styles/cssfabric.min.css +0 -168
  102. package/styles/cssfabric.responsive.css +0 -200596
  103. package/styles/cssfabric.responsive.min.css +0 -108
  104. package/styles/flex/flex.responsive.min.css +0 -1
  105. package/styles/grid/grid.responsive.min.css +0 -1
  106. package/styles/menu/menu.responsive.min.css +0 -1
  107. package/styles/overflow/overflow.responsive.min.css +0 -1
  108. package/styles/scale/scale.responsive.min.css +0 -1
  109. package/styles/table/table.responsive.min.css +0 -1
  110. package/styles/text/text.responsive.min.css +0 -1
  111. package/styles/vars.min.css +0 -1
  112. /package/{_generated → dist/_generated}/export.variables.md +0 -0
  113. /package/{_generated → dist/_generated}/readme.md +0 -0
  114. /package/{styles → dist/styles}/animation/animation.min.css +0 -0
  115. /package/{styles → dist/styles}/color/color.min.css +0 -0
  116. /package/{styles → dist/styles}/flex/flex.min.css +0 -0
  117. /package/{styles → dist/styles}/grid/grid.min.css +0 -0
  118. /package/{styles → dist/styles}/menu/menu.min.css +0 -0
  119. /package/{styles → dist/styles}/overflow/overflow.min.css +0 -0
  120. /package/{styles → dist/styles}/scale/scale.min.css +0 -0
  121. /package/{styles → dist/styles}/table/table.min.css +0 -0
  122. /package/{styles → dist/styles}/text/text.min.css +0 -0
  123. /package/{styles → dist/styles}/zindex/zindex.min.css +0 -0
@@ -1,215 +1,208 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
- html {
3
- line-height: 1.15;
4
- -webkit-text-size-adjust: 100%;
5
- }
6
-
7
- body {
8
- margin: 0;
9
- }
10
-
11
- main {
12
- display: block;
13
- }
14
-
15
- h1 {
16
- font-size: 2em;
17
- margin: 0.67em 0;
18
- }
19
-
20
- hr {
21
- box-sizing: content-box;
22
- height: 0;
23
- overflow: visible;
24
- }
25
-
26
- pre {
27
- font-family: monospace, monospace;
28
- font-size: 1em;
29
- }
30
-
31
- a {
32
- background-color: transparent;
33
- }
34
-
35
- abbr[title] {
36
- border-bottom: none;
37
- text-decoration: underline;
38
- text-decoration: underline dotted;
39
- }
40
-
41
- b, strong {
42
- font-weight: bolder;
43
- }
44
-
45
- code, kbd, samp {
46
- font-family: monospace, monospace;
47
- font-size: 1em;
48
- }
49
-
50
- small {
51
- font-size: 80%;
52
- }
53
-
54
- sub, sup {
55
- font-size: 75%;
56
- line-height: 0;
57
- position: relative;
58
- vertical-align: baseline;
59
- }
60
-
61
- sub {
62
- bottom: -0.25em;
63
- }
64
-
65
- sup {
66
- top: -0.5em;
67
- }
68
-
69
- img {
70
- border-style: none;
71
- }
72
-
73
- button, input, optgroup, select, textarea {
74
- font-family: inherit;
75
- font-size: 100%;
76
- line-height: 1.15;
77
- margin: 0;
78
- }
79
-
80
- button, input {
81
- overflow: visible;
82
- }
83
-
84
- button, select {
85
- text-transform: none;
86
- }
87
-
88
- [type=button], [type=reset], [type=submit], button {
89
- -webkit-appearance: button;
90
- }
91
-
92
- [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
93
- border-style: none;
94
- padding: 0;
95
- }
96
-
97
- [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
98
- outline: 1px dotted ButtonText;
99
- }
100
-
101
- fieldset {
102
- padding: 0.35em 0.75em 0.625em;
103
- }
104
-
105
- legend {
106
- box-sizing: border-box;
107
- color: inherit;
108
- display: table;
109
- max-width: 100%;
110
- padding: 0;
111
- white-space: normal;
112
- }
113
-
114
- progress {
115
- vertical-align: baseline;
116
- }
117
-
118
- textarea {
119
- overflow: auto;
120
- }
121
-
122
- [type=checkbox], [type=radio] {
123
- box-sizing: border-box;
124
- padding: 0;
125
- }
126
-
127
- [type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
128
- height: auto;
129
- }
130
-
131
- [type=search] {
132
- -webkit-appearance: textfield;
133
- outline-offset: -2px;
134
- }
135
-
136
- [type=search]::-webkit-search-decoration {
137
- -webkit-appearance: none;
138
- }
139
-
140
- ::-webkit-file-upload-button {
141
- -webkit-appearance: button;
142
- font: inherit;
143
- }
144
-
145
- details {
146
- display: block;
147
- }
148
-
149
- summary {
150
- display: list-item;
151
- }
152
-
153
- template {
154
- display: none;
155
- }
156
-
157
- [hidden] {
158
- display: none;
159
- }
160
-
161
- /*# sourceMappingURL=normalize.min.css.map */
162
- p {
163
- margin: auto;
164
- }
165
-
166
- .hover-parent .hover-show {
167
- display: none;
168
- }
169
- .hover-parent .hover-hide {
170
- display: initial;
171
- }
172
- .hover-parent:hover .hover-show {
173
- display: initial;
174
- }
175
- .hover-parent:hover .hover-hide {
176
- display: none;
177
- }
178
-
179
- .block:not(:last-child) {
180
- margin-bottom: 1.5rem;
181
- }
182
-
183
- h1,
184
- h2,
185
- h3,
186
- h4,
187
- h5,
188
- h6 {
189
- margin-block-start: 0 !important;
190
- margin-block-end: 0 !important;
191
- margin-inline-start: 0 !important;
192
- margin-inline-end: 0 !important;
193
- }
194
-
195
- label, .label {
196
- padding: 0.125rem 0.5rem;
197
- border: 1px solid #ccc;
198
- display: inline-block;
199
- border-radius: 4px;
200
- background-color: #ededed;
201
- text-shadow: white;
202
- }
203
-
204
- .box-content {
205
- padding: 0.25rem;
206
- margin: 0.25rem 0;
207
- }
208
-
209
- .cell-padding > * {
210
- padding: 0.25em;
211
- }
212
-
213
- .cell-spacing > * {
214
- margin: 0.25em;
1
+
2
+ /**---------------------base.css---------------------*/
3
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
4
+ html {
5
+ line-height: 1.15;
6
+ -webkit-text-size-adjust: 100%;
7
+ }
8
+
9
+ body {
10
+ margin: 0;
11
+ }
12
+
13
+ main {
14
+ display: block;
15
+ }
16
+
17
+ h1 {
18
+ font-size: 2em;
19
+ margin: 0.67em 0;
20
+ }
21
+
22
+ hr {
23
+ box-sizing: content-box;
24
+ height: 0;
25
+ overflow: visible;
26
+ }
27
+
28
+ pre {
29
+ font-family: monospace, monospace;
30
+ font-size: 1em;
31
+ }
32
+
33
+ a {
34
+ background-color: transparent;
35
+ }
36
+
37
+ abbr[title] {
38
+ border-bottom: none;
39
+ text-decoration: underline;
40
+ text-decoration: underline dotted;
41
+ }
42
+
43
+ b, strong {
44
+ font-weight: bolder;
45
+ }
46
+
47
+ code, kbd, samp {
48
+ font-family: monospace, monospace;
49
+ font-size: 1em;
50
+ }
51
+
52
+ small {
53
+ font-size: 80%;
54
+ }
55
+
56
+ sub, sup {
57
+ font-size: 75%;
58
+ line-height: 0;
59
+ position: relative;
60
+ vertical-align: baseline;
61
+ }
62
+
63
+ sub {
64
+ bottom: -0.25em;
65
+ }
66
+
67
+ sup {
68
+ top: -0.5em;
69
+ }
70
+
71
+ img {
72
+ border-style: none;
73
+ }
74
+
75
+ button, input, optgroup, select, textarea {
76
+ font-family: inherit;
77
+ font-size: 100%;
78
+ line-height: 1.15;
79
+ margin: 0;
80
+ }
81
+
82
+ button, input {
83
+ overflow: visible;
84
+ }
85
+
86
+ button, select {
87
+ text-transform: none;
88
+ }
89
+
90
+ [type=button], [type=reset], [type=submit], button {
91
+ -webkit-appearance: button;
92
+ }
93
+
94
+ [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
95
+ border-style: none;
96
+ padding: 0;
97
+ }
98
+
99
+ [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
100
+ outline: 1px dotted ButtonText;
101
+ }
102
+
103
+ fieldset {
104
+ padding: 0.35em 0.75em 0.625em;
105
+ }
106
+
107
+ legend {
108
+ box-sizing: border-box;
109
+ color: inherit;
110
+ display: table;
111
+ max-width: 100%;
112
+ padding: 0;
113
+ white-space: normal;
114
+ }
115
+
116
+ progress {
117
+ vertical-align: baseline;
118
+ }
119
+
120
+ textarea {
121
+ overflow: auto;
122
+ }
123
+
124
+ [type=checkbox], [type=radio] {
125
+ box-sizing: border-box;
126
+ padding: 0;
127
+ }
128
+
129
+ [type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
130
+ height: auto;
131
+ }
132
+
133
+ [type=search] {
134
+ -webkit-appearance: textfield;
135
+ outline-offset: -2px;
136
+ }
137
+
138
+ [type=search]::-webkit-search-decoration {
139
+ -webkit-appearance: none;
140
+ }
141
+
142
+ ::-webkit-file-upload-button {
143
+ -webkit-appearance: button;
144
+ font: inherit;
145
+ }
146
+
147
+ details {
148
+ display: block;
149
+ }
150
+
151
+ summary {
152
+ display: list-item;
153
+ }
154
+
155
+ template {
156
+ display: none;
157
+ }
158
+
159
+ [hidden] {
160
+ display: none;
161
+ }
162
+
163
+
164
+ p {
165
+ margin: auto;
166
+ }
167
+
168
+ .hover-parent .hover-show {
169
+ display: none;
170
+ }
171
+ .hover-parent .hover-hide {
172
+ display: initial;
173
+ }
174
+ .hover-parent:hover .hover-show {
175
+ display: initial;
176
+ }
177
+ .hover-parent:hover .hover-hide {
178
+ display: none;
179
+ }
180
+
181
+ .block:not(:last-child) {
182
+ margin-bottom: 1.5rem;
183
+ }
184
+
185
+ h1,
186
+ h2,
187
+ h3,
188
+ h4,
189
+ h5,
190
+ h6 {
191
+ margin-block-start: 0 !important;
192
+ margin-block-end: 0 !important;
193
+ margin-inline-start: 0 !important;
194
+ margin-inline-end: 0 !important;
195
+ }
196
+
197
+ .box-content {
198
+ padding: 0.25rem;
199
+ margin: 0.25rem 0;
200
+ }
201
+
202
+ .cell-padding > * {
203
+ padding: 0.25em;
204
+ }
205
+
206
+ .cell-spacing > * {
207
+ margin: 0.25em;
215
208
  }
@@ -1 +1 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}p{margin:auto}.hover-parent .hover-show{display:none}.hover-parent .hover-hide{display:initial}.hover-parent:hover .hover-show{display:initial}.hover-parent:hover .hover-hide{display:none}.block:not(:last-child){margin-bottom:1.5rem}h1,h2,h3,h4,h5,h6{margin-block-start:0 !important;margin-block-end:0 !important;margin-inline-start:0 !important;margin-inline-end:0 !important}label,.label{padding:.125rem .5rem;border:1px solid #ccc;display:inline-block;border-radius:4px;background-color:#ededed;text-shadow:#fff}.box-content{padding:.25rem;margin:.25rem 0}.cell-padding>*{padding:.25em}.cell-spacing>*{margin:.25em}
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}p{margin:auto}.hover-parent .hover-show{display:none}.hover-parent .hover-hide{display:initial}.hover-parent:hover .hover-show{display:initial}.hover-parent:hover .hover-hide{display:none}.block:not(:last-child){margin-bottom:1.5rem}h1,h2,h3,h4,h5,h6{margin-block-start:0 !important;margin-block-end:0 !important;margin-inline-start:0 !important;margin-inline-end:0 !important}.box-content{padding:.25rem;margin:.25rem 0}.cell-padding>*{padding:.25em}.cell-spacing>*{margin:.25em}