@quidgest/ui 0.7.6 → 0.7.8

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/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest Framework v0.7.6
2
+ * Quidgest Framework v0.7.8
3
3
  * (c) 2023 Quidgest - Consultores de Gestão, SA
4
4
  */
5
5
 
@@ -486,41 +486,19 @@ $input-height: 31.89px;
486
486
  }
487
487
  }
488
488
 
489
- &--fit-content {
490
- > #{$this}__control {
491
- width: fit-content;
492
- }
493
- }
494
- &--mini {
495
- > #{$this}__control {
496
- width: 4.35rem;
497
- }
498
- }
499
- &--small {
500
- > #{$this}__control {
501
- width: 6.525rem;
502
- }
503
- }
504
- &--medium {
505
- > #{$this}__control {
506
- width: 10.875rem;
507
- }
508
- }
509
- &--large {
510
- > #{$this}__control {
511
- width: 15.225rem;
512
- }
513
- }
514
- &--x-large {
515
- > #{$this}__control {
516
- width: 19.575rem;
517
- }
518
- }
519
- &--xx-large {
520
- > #{$this}__control {
521
- width: 36.975rem;
489
+ @mixin field-size($size, $multiplier: 1) {
490
+ &--#{$size} {
491
+ > #{$this}__control {
492
+ width: calc(#{$multiplier} * 5em + #{$multiplier - 1} * $space-base);
493
+ }
522
494
  }
523
495
  }
496
+ @include field-size(mini, 1);
497
+ @include field-size(small, 2);
498
+ @include field-size(medium, 3);
499
+ @include field-size(large, 4);
500
+ @include field-size(xlarge, 6);
501
+ @include field-size(xxlarge, 8);
524
502
  &--block {
525
503
  width: 100%;
526
504
  }
@@ -1000,6 +978,7 @@ $spinner-color: var(--q-theme-primary);
1000
978
  outline: none;
1001
979
  background-color: inherit;
1002
980
  cursor: inherit;
981
+ padding: 0;
1003
982
  &::placeholder {
1004
983
  font-style: italic;
1005
984
  color: rgb(var(--q-theme-on-background-rgb) / 0.5);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@quidgest/ui",
3
3
  "private": false,
4
4
  "description": "Quidgest's UI framework",
5
- "version": "0.7.6",
5
+ "version": "0.7.8",
6
6
  "author": {
7
7
  "name": "Quidgest"
8
8
  },
@@ -44,52 +44,52 @@
44
44
  }
45
45
  },
46
46
  "devDependencies": {
47
- "@fortawesome/fontawesome-free": "^6.4.2",
47
+ "@fortawesome/fontawesome-free": "^6.5.1",
48
48
  "@rollup/plugin-terser": "^0.4.4",
49
49
  "@storybook/addon-essentials": "7.6.3",
50
50
  "@storybook/addon-interactions": "7.6.3",
51
51
  "@storybook/addon-links": "7.6.3",
52
52
  "@storybook/blocks": "7.6.3",
53
- "@storybook/manager-api": "^7.6.3",
53
+ "@storybook/manager-api": "^7.6.4",
54
54
  "@storybook/testing-library": "0.2.2",
55
- "@storybook/theming": "^7.6.3",
55
+ "@storybook/theming": "^7.6.4",
56
56
  "@storybook/vue3": "7.6.3",
57
57
  "@storybook/vue3-vite": "7.6.3",
58
58
  "@tsconfig/node18": "^18.2.2",
59
- "@types/lodash-es": "^4.17.9",
60
- "@types/node": "^20.8.2",
61
- "@typescript-eslint/eslint-plugin": "^6.7.4",
62
- "@typescript-eslint/parser": "^6.7.4",
63
- "@vitejs/plugin-vue": "^4.4.0",
64
- "@vitest/coverage-v8": "^1.0.1",
65
- "@vitest/ui": "^1.0.1",
59
+ "@types/lodash-es": "^4.17.12",
60
+ "@types/node": "^20.10.4",
61
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
62
+ "@typescript-eslint/parser": "^6.13.2",
63
+ "@vitejs/plugin-vue": "^4.5.2",
64
+ "@vitest/coverage-v8": "^1.0.4",
65
+ "@vitest/ui": "^1.0.4",
66
66
  "@vue/eslint-config-typescript": "^12.0.0",
67
- "@vue/test-utils": "^2.4.1",
67
+ "@vue/test-utils": "^2.4.3",
68
68
  "@vue/tsconfig": "^0.4.0",
69
69
  "autoprefixer": "^10.4.16",
70
70
  "cssnano": "^6.0.1",
71
- "eslint": "^8.50.0",
72
- "eslint-config-prettier": "^9.0.0",
73
- "eslint-plugin-prettier": "^5.0.0",
71
+ "eslint": "^8.55.0",
72
+ "eslint-config-prettier": "^9.1.0",
73
+ "eslint-plugin-prettier": "^5.0.1",
74
74
  "eslint-plugin-storybook": "^0.6.15",
75
- "eslint-plugin-vue": "^9.17.0",
76
- "happy-dom": "^12.9.0",
77
- "husky": "^8.0.0",
78
- "lint-staged": "^15.1.0",
79
- "postcss": "^8.4.31",
80
- "prettier": "^3.0.3",
75
+ "eslint-plugin-vue": "^9.19.2",
76
+ "happy-dom": "^12.10.3",
77
+ "husky": "^8.0.3",
78
+ "lint-staged": "^15.2.0",
79
+ "postcss": "^8.4.32",
80
+ "prettier": "^3.1.1",
81
81
  "react": "18.2.0",
82
82
  "react-dom": "18.2.0",
83
83
  "rimraf": "^5.0.5",
84
- "sass": "^1.69.0",
84
+ "sass": "^1.69.5",
85
85
  "storybook": "7.6.3",
86
86
  "stylelint": "^15.11.0",
87
87
  "stylelint-config-sass-guidelines": "^10.0.0",
88
- "typescript": "^5.2.2",
89
- "vite": "^5.0.5",
90
- "vite-plugin-dts": "^3.6.3",
91
- "vitest": "^1.0.1",
92
- "vue-eslint-parser": "^9.3.1"
88
+ "typescript": "^5.3.3",
89
+ "vite": "^5.0.7",
90
+ "vite-plugin-dts": "^3.6.4",
91
+ "vitest": "^1.0.4",
92
+ "vue-eslint-parser": "^9.3.2"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "vue": "^3.3.4"