@globalbrain/sefirot 2.2.0 → 2.3.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.
Files changed (54) hide show
  1. package/lib/components/SButton.vue +0 -1
  2. package/lib/components/SButtonGroup.vue +17 -17
  3. package/lib/components/SDropdownSectionFilter.vue +5 -5
  4. package/lib/components/SIcon.vue +2 -2
  5. package/lib/components/SInputBase.vue +4 -5
  6. package/lib/components/SInputCheckbox.vue +23 -23
  7. package/lib/components/SInputCheckboxes.vue +23 -23
  8. package/lib/components/SInputDate.vue +55 -132
  9. package/lib/components/SInputDropdown.vue +16 -5
  10. package/lib/components/SInputDropdownItem.vue +3 -0
  11. package/lib/components/SInputDropdownItemAvatar.vue +8 -3
  12. package/lib/components/SInputDropdownItemText.vue +9 -4
  13. package/lib/components/SInputFile.vue +1 -1
  14. package/lib/components/SInputNumber.vue +51 -50
  15. package/lib/components/SInputSelect.vue +48 -48
  16. package/lib/components/SInputSwitch.vue +68 -142
  17. package/lib/components/SInputSwitches.vue +51 -58
  18. package/lib/components/SInputText.vue +13 -2
  19. package/lib/components/SInputTextarea.vue +24 -24
  20. package/lib/components/SInputYMD.vue +1 -1
  21. package/lib/components/SLink.vue +14 -14
  22. package/lib/components/SMarkdown.vue +3 -3
  23. package/lib/components/SMount.vue +1 -1
  24. package/lib/components/SSheetFooterAction.vue +1 -1
  25. package/lib/components/SSpinner.vue +28 -12
  26. package/lib/components/SStep.vue +15 -15
  27. package/lib/components/SSteps.vue +16 -16
  28. package/lib/components/STable.vue +2 -2
  29. package/lib/components/STableCellAvatar.vue +1 -1
  30. package/lib/components/STableCellAvatars.vue +1 -1
  31. package/lib/components/STableCellDay.vue +1 -1
  32. package/lib/components/STableCellPill.vue +3 -2
  33. package/lib/components/STableColumn.vue +4 -4
  34. package/lib/components/STooltip.vue +17 -17
  35. package/lib/composables/Form.ts +7 -5
  36. package/lib/composables/Grid.ts +3 -3
  37. package/lib/composables/Markdown.ts +2 -2
  38. package/lib/composables/Tooltip.ts +2 -1
  39. package/lib/composables/Validation.ts +2 -2
  40. package/lib/support/Day.ts +1 -1
  41. package/lib/validation/rules/email.ts +1 -1
  42. package/lib/validation/rules/hms.ts +1 -1
  43. package/lib/validation/rules/maxLength.ts +1 -1
  44. package/lib/validation/rules/maxValue.ts +1 -1
  45. package/lib/validation/rules/minLength.ts +1 -1
  46. package/lib/validation/rules/minValue.ts +1 -1
  47. package/lib/validation/rules/required.ts +1 -1
  48. package/lib/validation/rules/requiredHms.ts +1 -1
  49. package/lib/validation/rules/requiredIf.ts +1 -1
  50. package/lib/validation/rules/requiredYmd.ts +1 -1
  51. package/lib/validation/rules/url.ts +1 -1
  52. package/lib/validation/rules/ymd.ts +1 -1
  53. package/lib/validation/validators/requiredYmd.ts +1 -1
  54. package/package.json +12 -15
@@ -1,4 +1,4 @@
1
- import { Ymd, YmdType, YmdMap } from './ymd'
1
+ import { Ymd, YmdMap, YmdType } from './ymd'
2
2
 
3
3
  export type { Ymd, YmdType, YmdMap }
4
4
 
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Vue Components for Global Brain Design System.",
5
- "files": [
6
- "lib"
7
- ],
5
+ "author": "Kia Ishii <ka.ishii@globalbrains.com>",
6
+ "license": "MIT",
8
7
  "repository": {
9
8
  "type": "git",
10
9
  "url": "git@github.com:globalbrain/sefirot.git"
11
10
  },
11
+ "bugs": {
12
+ "url": "https://github.com/globalbrain/sefirot/issues"
13
+ },
12
14
  "keywords": [
13
15
  "sefirot",
14
16
  "vue",
15
17
  "vue component"
16
18
  ],
17
- "author": "Kia Ishii <ka.ishii@globalbrains.com>",
18
- "license": "MIT",
19
- "bugs": {
20
- "url": "https://github.com/globalbrain/sefirot/issues"
21
- },
19
+ "files": [
20
+ "lib"
21
+ ],
22
22
  "peerDependencies": {
23
23
  "@iconify-icons/ph": "^1.2.2",
24
24
  "@iconify/vue": "^4.0.0",
@@ -43,6 +43,7 @@
43
43
  "vue-router": "^4.1.5"
44
44
  },
45
45
  "devDependencies": {
46
+ "@globalbrain/eslint-config": "^0.1.0",
46
47
  "@histoire/plugin-vue": "^0.10.7",
47
48
  "@iconify-icons/ph": "^1.2.2",
48
49
  "@iconify/vue": "^4.0.0",
@@ -50,8 +51,6 @@
50
51
  "@types/lodash-es": "^4.17.6",
51
52
  "@types/markdown-it": "^12.2.3",
52
53
  "@types/node": "^18.8.0",
53
- "@typescript-eslint/eslint-plugin": "^5.38.0",
54
- "@typescript-eslint/parser": "^5.38.0",
55
54
  "@vitejs/plugin-vue": "^3.1.2",
56
55
  "@vitest/coverage-c8": "^0.23.4",
57
56
  "@vue/test-utils": "^2.1.0",
@@ -64,8 +63,6 @@
64
63
  "dayjs": "^1.11.5",
65
64
  "enquirer": "^2.3.6",
66
65
  "eslint": "^8.23.1",
67
- "eslint-plugin-import": "^2.26.0",
68
- "eslint-plugin-vue": "^9.5.1",
69
66
  "execa": "^5.1.1",
70
67
  "fuse.js": "^6.6.2",
71
68
  "happy-dom": "^6.0.4",
@@ -94,8 +91,8 @@
94
91
  "story:build": "histoire build",
95
92
  "story:preview": "histoire preview --port 3000",
96
93
  "type": "vue-tsc --noEmit",
97
- "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix './{lib,tests}/**/*.{ts,vue}'",
98
- "lint:fail": "eslint --ext .js,.vue --ignore-path .gitignore './{lib,tests}/**/*.{ts,vue}'",
94
+ "lint": "eslint --fix .",
95
+ "lint:fail": "eslint .",
99
96
  "vitest": "vitest",
100
97
  "coverage": "vitest run --coverage",
101
98
  "test": "pnpm run type && pnpm run lint && pnpm run coverage",