@master/css 2.0.0-rc.53 → 2.0.0-rc.54

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.
@@ -919,6 +919,9 @@ const rules = {
919
919
  type: syntaxRuleType.Native,
920
920
  unit: 'em'
921
921
  },
922
+ hyphens: {
923
+ type: syntaxRuleType.Native
924
+ },
922
925
  'user-drag': {
923
926
  type: syntaxRuleType.Native,
924
927
  declare (value) {
@@ -103,6 +103,7 @@ declare const rules: {
103
103
  'touch-action': SyntaxRuleDefinition;
104
104
  'word-break': SyntaxRuleDefinition;
105
105
  'word-spacing': SyntaxRuleDefinition;
106
+ hyphens: SyntaxRuleDefinition;
106
107
  'user-drag': SyntaxRuleDefinition;
107
108
  'user-select': SyntaxRuleDefinition;
108
109
  'text-shadow': SyntaxRuleDefinition;
@@ -917,6 +917,9 @@ const rules = {
917
917
  type: SyntaxRuleType.Native,
918
918
  unit: 'em'
919
919
  },
920
+ hyphens: {
921
+ type: SyntaxRuleType.Native
922
+ },
920
923
  'user-drag': {
921
924
  type: SyntaxRuleType.Native,
922
925
  declare (value) {
package/dist/core.cjs CHANGED
@@ -656,7 +656,6 @@ class MasterCSS {
656
656
  if (syntaxRules.length) return syntaxRules;
657
657
  }
658
658
  }
659
- return [];
660
659
  }
661
660
  /**
662
661
  * 根據蒐集到的所有 DOM class 重新 create
package/dist/core.d.ts CHANGED
@@ -47,7 +47,7 @@ export default class MasterCSS {
47
47
  * Create syntax rule from given selector text
48
48
  * @param selectorText
49
49
  */
50
- createFromSelectorText(selectorText: string): SyntaxRule[];
50
+ createFromSelectorText(selectorText: string): SyntaxRule[] | undefined;
51
51
  /**
52
52
  * 根據蒐集到的所有 DOM class 重新 create
53
53
  */
package/dist/core.mjs CHANGED
@@ -652,7 +652,6 @@ class MasterCSS {
652
652
  if (syntaxRules.length) return syntaxRules;
653
653
  }
654
654
  }
655
- return [];
656
655
  }
657
656
  /**
658
657
  * 根據蒐集到的所有 DOM class 重新 create
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/core"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.1.0","@master/normal.css":"^3.1.0","@techor/extend":"^3.1.7","csstype":"^3.1.3"},"devDependencies":{"shared":"^2.0.0-rc.53"},"version":"2.0.0-rc.53"}
1
+ {"name":"@master/css","type":"module","scripts":{"build":"techor build \"src/**/*.ts\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"The CSS language and framework for rapidly building modern and high-performance websites","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/core"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/colors":"^2.1.0","@master/normal.css":"^3.1.0","@techor/extend":"^3.1.7","csstype":"^3.1.3"},"devDependencies":{"shared":"^2.0.0-rc.54"},"version":"2.0.0-rc.54"}