@quidgest/ui 0.17.9 → 0.18.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.
- package/dist/json/api.json +169 -17
- package/dist/manifest/components.json +2 -0
- package/dist/ui.css +231 -25
- package/dist/ui.esm.js +573 -608
- package/dist/ui.js +457 -493
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +457 -493
- package/dist/ui.scss +225 -27
- package/esm/components/QAccordion/QAccordionItem.vue.js +1 -0
- package/esm/components/QCarousel/QCarousel.vue.js +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +2 -0
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +50 -47
- package/esm/components/QCollapsible/constants.d.ts +6 -0
- package/esm/components/QCollapsible/constants.d.ts.map +1 -1
- package/esm/components/QCollapsible/constants.js +3 -2
- package/esm/components/QCollapsible/index.d.ts +6 -0
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +11 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +505 -597
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +32 -16
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +179 -86
- package/esm/components/QDropdownMenu/types.d.ts +6 -0
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +3 -0
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +19 -17
- package/esm/components/QLabel/types.d.ts +3 -0
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +172 -0
- package/esm/components/QTabs/QTab.d.ts.map +1 -0
- package/esm/components/QTabs/QTab.vue.js +122 -0
- package/esm/components/QTabs/QTab2.vue.js +5 -0
- package/esm/components/QTabs/QTabs.d.ts +35 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -0
- package/esm/components/QTabs/QTabs.vue.js +83 -0
- package/esm/components/QTabs/QTabs2.vue.js +5 -0
- package/esm/components/QTabs/constants.d.ts +5 -0
- package/esm/components/QTabs/constants.d.ts.map +1 -0
- package/esm/components/QTabs/context.d.ts +78 -0
- package/esm/components/QTabs/context.d.ts.map +1 -0
- package/esm/components/QTabs/context.js +4 -0
- package/esm/components/QTabs/index.d.ts +164 -0
- package/esm/components/QTabs/index.d.ts.map +1 -0
- package/esm/components/QTabs/index.js +7 -0
- package/esm/components/QTabs/types.d.ts +106 -0
- package/esm/components/QTabs/types.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.d.ts +7 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +24 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator2.vue.js +5 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.d.ts +7 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.js +4 -0
- package/esm/components/__internal__/QRequiredIndicator/index.d.ts +6 -0
- package/esm/components/__internal__/QRequiredIndicator/index.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/index.js +6 -0
- package/esm/components/__internal__/QRequiredIndicator/types.d.ts +18 -0
- package/esm/components/__internal__/QRequiredIndicator/types.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +10 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +31 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle2.vue.js +5 -0
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +10 -0
- package/esm/components/__internal__/QSafeTriangle/index.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/index.js +6 -0
- package/esm/components/__internal__/QSafeTriangle/types.d.ts +33 -0
- package/esm/components/__internal__/QSafeTriangle/types.d.ts.map +1 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +17 -14
- package/esm/composables/useSafeTriangle/index.d.ts +31 -0
- package/esm/composables/useSafeTriangle/index.d.ts.map +1 -0
- package/esm/composables/useSafeTriangle/index.js +87 -0
- package/esm/index.d.ts +2 -0
- package/esm/utils/date.d.ts +36 -1
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +90 -1
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/utils/index.js +30 -24
- package/esm/utils/mask.d.ts +17 -0
- package/esm/utils/mask.d.ts.map +1 -0
- package/esm/utils/mask.js +154 -0
- package/esm/utils/safeTriangle.d.ts +68 -0
- package/esm/utils/safeTriangle.d.ts.map +1 -0
- package/esm/utils/safeTriangle.js +83 -0
- package/package.json +6 -6
- package/esm/composables/useInputMask/index.d.ts +0 -50
- package/esm/composables/useInputMask/index.d.ts.map +0 -1
- package/esm/composables/useInputMask/index.js +0 -408
package/dist/json/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.18.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "QAccordion",
|
|
@@ -1328,7 +1328,7 @@
|
|
|
1328
1328
|
"kind": "primitive",
|
|
1329
1329
|
"name": "boolean"
|
|
1330
1330
|
},
|
|
1331
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
1331
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
1332
1332
|
"required": false,
|
|
1333
1333
|
"category": "State"
|
|
1334
1334
|
},
|
|
@@ -1629,7 +1629,7 @@
|
|
|
1629
1629
|
"kind": "primitive",
|
|
1630
1630
|
"name": "boolean"
|
|
1631
1631
|
},
|
|
1632
|
-
"description": "Show an indicator that there are required elements inside the group.",
|
|
1632
|
+
"description": "Show an indicator that there are required elements inside the group.\n\nThe asterisk is decorative (`aria-hidden`); {@link QRequiredIndicator }\nwith `announce` exposes the state to assistive tech via `.q-sr-only`\n(from `texts.required`).",
|
|
1633
1633
|
"required": false,
|
|
1634
1634
|
"category": "State"
|
|
1635
1635
|
},
|
|
@@ -1643,6 +1643,17 @@
|
|
|
1643
1643
|
"default": "DEFAULT_ICONS",
|
|
1644
1644
|
"required": false,
|
|
1645
1645
|
"category": "Configuration"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "texts",
|
|
1649
|
+
"type": {
|
|
1650
|
+
"kind": "object",
|
|
1651
|
+
"fields": {}
|
|
1652
|
+
},
|
|
1653
|
+
"description": "Custom accessible strings.",
|
|
1654
|
+
"default": "DEFAULT_TEXTS",
|
|
1655
|
+
"required": false,
|
|
1656
|
+
"category": "Configuration"
|
|
1646
1657
|
}
|
|
1647
1658
|
],
|
|
1648
1659
|
"events": [
|
|
@@ -1993,7 +2004,7 @@
|
|
|
1993
2004
|
"kind": "primitive",
|
|
1994
2005
|
"name": "boolean"
|
|
1995
2006
|
},
|
|
1996
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2007
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
1997
2008
|
"required": false,
|
|
1998
2009
|
"category": "State"
|
|
1999
2010
|
},
|
|
@@ -2357,7 +2368,7 @@
|
|
|
2357
2368
|
"kind": "primitive",
|
|
2358
2369
|
"name": "boolean"
|
|
2359
2370
|
},
|
|
2360
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2371
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2361
2372
|
"required": false,
|
|
2362
2373
|
"category": "State"
|
|
2363
2374
|
},
|
|
@@ -3414,7 +3425,7 @@
|
|
|
3414
3425
|
"kind": "primitive",
|
|
3415
3426
|
"name": "boolean"
|
|
3416
3427
|
},
|
|
3417
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3428
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3418
3429
|
"required": false,
|
|
3419
3430
|
"category": "State"
|
|
3420
3431
|
},
|
|
@@ -3569,7 +3580,7 @@
|
|
|
3569
3580
|
"kind": "primitive",
|
|
3570
3581
|
"name": "boolean"
|
|
3571
3582
|
},
|
|
3572
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3583
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3573
3584
|
"required": false,
|
|
3574
3585
|
"category": "State"
|
|
3575
3586
|
},
|
|
@@ -4063,7 +4074,7 @@
|
|
|
4063
4074
|
"kind": "primitive",
|
|
4064
4075
|
"name": "boolean"
|
|
4065
4076
|
},
|
|
4066
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4077
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4067
4078
|
"required": false,
|
|
4068
4079
|
"category": "State"
|
|
4069
4080
|
},
|
|
@@ -4275,7 +4286,7 @@
|
|
|
4275
4286
|
"kind": "primitive",
|
|
4276
4287
|
"name": "boolean"
|
|
4277
4288
|
},
|
|
4278
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4289
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
4279
4290
|
"required": false,
|
|
4280
4291
|
"category": "State"
|
|
4281
4292
|
},
|
|
@@ -4647,7 +4658,7 @@
|
|
|
4647
4658
|
"kind": "primitive",
|
|
4648
4659
|
"name": "boolean"
|
|
4649
4660
|
},
|
|
4650
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4661
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
4651
4662
|
"required": false,
|
|
4652
4663
|
"category": "State"
|
|
4653
4664
|
},
|
|
@@ -4779,7 +4790,7 @@
|
|
|
4779
4790
|
"kind": "primitive",
|
|
4780
4791
|
"name": "boolean"
|
|
4781
4792
|
},
|
|
4782
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4793
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4783
4794
|
"default": "false",
|
|
4784
4795
|
"required": false,
|
|
4785
4796
|
"category": "State"
|
|
@@ -5514,7 +5525,7 @@
|
|
|
5514
5525
|
"kind": "primitive",
|
|
5515
5526
|
"name": "boolean"
|
|
5516
5527
|
},
|
|
5517
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
5528
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
5518
5529
|
"required": false,
|
|
5519
5530
|
"category": "State"
|
|
5520
5531
|
},
|
|
@@ -6152,7 +6163,7 @@
|
|
|
6152
6163
|
"kind": "primitive",
|
|
6153
6164
|
"name": "boolean"
|
|
6154
6165
|
},
|
|
6155
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
6166
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
6156
6167
|
"required": false,
|
|
6157
6168
|
"category": "State"
|
|
6158
6169
|
},
|
|
@@ -6456,7 +6467,7 @@
|
|
|
6456
6467
|
"kind": "primitive",
|
|
6457
6468
|
"name": "boolean"
|
|
6458
6469
|
},
|
|
6459
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
6470
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
6460
6471
|
"required": false,
|
|
6461
6472
|
"category": "State"
|
|
6462
6473
|
},
|
|
@@ -7084,7 +7095,7 @@
|
|
|
7084
7095
|
"kind": "primitive",
|
|
7085
7096
|
"name": "boolean"
|
|
7086
7097
|
},
|
|
7087
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
7098
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
7088
7099
|
"required": false,
|
|
7089
7100
|
"category": "State"
|
|
7090
7101
|
},
|
|
@@ -7249,6 +7260,147 @@
|
|
|
7249
7260
|
}
|
|
7250
7261
|
]
|
|
7251
7262
|
},
|
|
7263
|
+
{
|
|
7264
|
+
"name": "QTabs",
|
|
7265
|
+
"description": "Displays a set of tabbed panels. Only one panel is visible at a time.",
|
|
7266
|
+
"meta": {
|
|
7267
|
+
"props": [
|
|
7268
|
+
{
|
|
7269
|
+
"name": "modelValue",
|
|
7270
|
+
"type": {
|
|
7271
|
+
"kind": "primitive",
|
|
7272
|
+
"name": "string"
|
|
7273
|
+
},
|
|
7274
|
+
"description": "",
|
|
7275
|
+
"required": false
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"name": "id",
|
|
7279
|
+
"type": {
|
|
7280
|
+
"kind": "primitive",
|
|
7281
|
+
"name": "string"
|
|
7282
|
+
},
|
|
7283
|
+
"description": "The component unique identifier.",
|
|
7284
|
+
"required": false,
|
|
7285
|
+
"category": "Identification"
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
"name": "direction",
|
|
7289
|
+
"type": {
|
|
7290
|
+
"kind": "enum",
|
|
7291
|
+
"values": [
|
|
7292
|
+
"horizontal",
|
|
7293
|
+
"vertical"
|
|
7294
|
+
]
|
|
7295
|
+
},
|
|
7296
|
+
"description": "Orientation of the tab list.\n\nAlso mapped to `aria-orientation` on the tablist.",
|
|
7297
|
+
"default": "horizontal",
|
|
7298
|
+
"required": false,
|
|
7299
|
+
"category": "Presentation"
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
"name": "align",
|
|
7303
|
+
"type": {
|
|
7304
|
+
"kind": "enum",
|
|
7305
|
+
"values": [
|
|
7306
|
+
"start",
|
|
7307
|
+
"end",
|
|
7308
|
+
"center",
|
|
7309
|
+
"justify"
|
|
7310
|
+
]
|
|
7311
|
+
},
|
|
7312
|
+
"description": "Distribution of tabs along the tab list main axis.",
|
|
7313
|
+
"default": "start",
|
|
7314
|
+
"required": false,
|
|
7315
|
+
"category": "Presentation"
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"name": "variant",
|
|
7319
|
+
"type": {
|
|
7320
|
+
"kind": "enum",
|
|
7321
|
+
"values": [
|
|
7322
|
+
"line",
|
|
7323
|
+
"card"
|
|
7324
|
+
]
|
|
7325
|
+
},
|
|
7326
|
+
"description": "Visual style of the tabs.",
|
|
7327
|
+
"default": "line",
|
|
7328
|
+
"required": false,
|
|
7329
|
+
"category": "Presentation"
|
|
7330
|
+
},
|
|
7331
|
+
{
|
|
7332
|
+
"name": "disabled",
|
|
7333
|
+
"type": {
|
|
7334
|
+
"kind": "primitive",
|
|
7335
|
+
"name": "boolean"
|
|
7336
|
+
},
|
|
7337
|
+
"description": "If true, disables all nested tabs via defaults cascade.",
|
|
7338
|
+
"required": false,
|
|
7339
|
+
"category": "State"
|
|
7340
|
+
}
|
|
7341
|
+
],
|
|
7342
|
+
"events": [
|
|
7343
|
+
{
|
|
7344
|
+
"name": "update:modelValue",
|
|
7345
|
+
"description": "",
|
|
7346
|
+
"type": "[value: string]"
|
|
7347
|
+
}
|
|
7348
|
+
],
|
|
7349
|
+
"slots": [
|
|
7350
|
+
{
|
|
7351
|
+
"name": "default",
|
|
7352
|
+
"description": ""
|
|
7353
|
+
}
|
|
7354
|
+
]
|
|
7355
|
+
},
|
|
7356
|
+
"examples": [
|
|
7357
|
+
{
|
|
7358
|
+
"title": "Default",
|
|
7359
|
+
"description": "Default horizontal tabs.",
|
|
7360
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tContent for the details tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tContent for the history tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tContent for the settings tab.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"title": "Vertical",
|
|
7364
|
+
"description": "Vertical tab list beside the panels.",
|
|
7365
|
+
"code": "<QTabs :direction=\"vertical\" />"
|
|
7366
|
+
},
|
|
7367
|
+
{
|
|
7368
|
+
"title": "Card",
|
|
7369
|
+
"description": "Card-style folder tabs that merge into the panel.",
|
|
7370
|
+
"code": "<QTabs :variant=\"card\" />"
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"title": "Card Vertical",
|
|
7374
|
+
"description": "Card-style tabs in a vertical layout.",
|
|
7375
|
+
"code": "<QTabs :variant=\"card\" :direction=\"vertical\" />"
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"title": "Align",
|
|
7379
|
+
"description": "Tabs distributed across the tab list.",
|
|
7380
|
+
"code": "<QTabs :align=\"justify\" />"
|
|
7381
|
+
},
|
|
7382
|
+
{
|
|
7383
|
+
"title": "With Required",
|
|
7384
|
+
"description": "Tab with a required asterisk on the label.",
|
|
7385
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\" required>\n\t\t\t\t\tRequired section content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tOptional section content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7386
|
+
},
|
|
7387
|
+
{
|
|
7388
|
+
"title": "With Title Slots",
|
|
7389
|
+
"description": "Tabs with prepend and append title slots.",
|
|
7390
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Inbox\" value=\"inbox\">\n\t\t\t\t\t<template #title.prepend>📥</template>\n\t\t\t\t\t<template #title.append>(3)</template>\n\t\t\t\t\tInbox messages.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Sent\" value=\"sent\">\n\t\t\t\t\t<template #title.prepend>📤</template>\n\t\t\t\t\tSent messages.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
"title": "Disabled",
|
|
7394
|
+
"description": "Disabled tab and parent-level disable cascade.",
|
|
7395
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tDetails content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\" disabled>\n\t\t\t\t\tHistory content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tSettings content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
"title": "Controlled",
|
|
7399
|
+
"description": "Controlled active tab via v-model.",
|
|
7400
|
+
"code": "<p>Active: {{ active }}</p>\n\t\t\t<q-tabs v-bind=\"args\" v-model=\"active\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tDetails content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tHistory content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tSettings content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7401
|
+
}
|
|
7402
|
+
]
|
|
7403
|
+
},
|
|
7252
7404
|
{
|
|
7253
7405
|
"name": "QTextArea",
|
|
7254
7406
|
"description": "An extension of the `QField` component, providing a specialized field for textual data with multiple lines.",
|
|
@@ -7289,7 +7441,7 @@
|
|
|
7289
7441
|
"kind": "primitive",
|
|
7290
7442
|
"name": "boolean"
|
|
7291
7443
|
},
|
|
7292
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7444
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7293
7445
|
"required": false,
|
|
7294
7446
|
"category": "State"
|
|
7295
7447
|
},
|
|
@@ -7578,7 +7730,7 @@
|
|
|
7578
7730
|
"kind": "primitive",
|
|
7579
7731
|
"name": "boolean"
|
|
7580
7732
|
},
|
|
7581
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7733
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7582
7734
|
"required": false,
|
|
7583
7735
|
"category": "State"
|
|
7584
7736
|
},
|
package/dist/ui.css
CHANGED
|
@@ -351,6 +351,31 @@ body *::-webkit-scrollbar-track {
|
|
|
351
351
|
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
/**
|
|
355
|
+
* Visually hide content while keeping it available to assistive technologies.
|
|
356
|
+
*
|
|
357
|
+
* Prefer the global `.q-sr-only` class; use this mixin when composing into
|
|
358
|
+
* another selector.
|
|
359
|
+
*/
|
|
360
|
+
/* Shared utility classes */
|
|
361
|
+
/**
|
|
362
|
+
* Screen-reader-only text: visually hidden, still announced by assistive tech.
|
|
363
|
+
*
|
|
364
|
+
* @example
|
|
365
|
+
* <span class="q-sr-only">required</span>
|
|
366
|
+
*/
|
|
367
|
+
.q-sr-only {
|
|
368
|
+
position: absolute;
|
|
369
|
+
width: 1px;
|
|
370
|
+
height: 1px;
|
|
371
|
+
padding: 0;
|
|
372
|
+
margin: -1px;
|
|
373
|
+
overflow: hidden;
|
|
374
|
+
clip-path: inset(50%);
|
|
375
|
+
white-space: nowrap;
|
|
376
|
+
border: 0;
|
|
377
|
+
}
|
|
378
|
+
|
|
354
379
|
.q-chevron {
|
|
355
380
|
transition: all 0.2s;
|
|
356
381
|
}
|
|
@@ -374,6 +399,26 @@ body *::-webkit-scrollbar-track {
|
|
|
374
399
|
opacity: 1;
|
|
375
400
|
}
|
|
376
401
|
|
|
402
|
+
.q-required-indicator {
|
|
403
|
+
display: contents;
|
|
404
|
+
}
|
|
405
|
+
.q-required-indicator__mark {
|
|
406
|
+
margin-inline-start: 0.25em;
|
|
407
|
+
font-weight: 700;
|
|
408
|
+
color: var(--q-theme-danger);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.q-safe-triangle {
|
|
412
|
+
position: fixed;
|
|
413
|
+
z-index: 1071;
|
|
414
|
+
overflow: visible;
|
|
415
|
+
pointer-events: none;
|
|
416
|
+
}
|
|
417
|
+
.q-safe-triangle__path {
|
|
418
|
+
pointer-events: auto;
|
|
419
|
+
fill: transparent;
|
|
420
|
+
}
|
|
421
|
+
|
|
377
422
|
.q-accordion {
|
|
378
423
|
display: flex;
|
|
379
424
|
flex-direction: column;
|
|
@@ -1304,18 +1349,6 @@ body *::-webkit-scrollbar-track {
|
|
|
1304
1349
|
height: 100%;
|
|
1305
1350
|
}
|
|
1306
1351
|
|
|
1307
|
-
.q-carousel__sr-only {
|
|
1308
|
-
position: absolute;
|
|
1309
|
-
width: 1px;
|
|
1310
|
-
height: 1px;
|
|
1311
|
-
padding: 0;
|
|
1312
|
-
margin: -1px;
|
|
1313
|
-
overflow: hidden;
|
|
1314
|
-
clip-path: inset(50%);
|
|
1315
|
-
white-space: nowrap;
|
|
1316
|
-
border: 0;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
1352
|
@media (max-width: 768px) {
|
|
1320
1353
|
.q-carousel {
|
|
1321
1354
|
--q-carousel-height: 300px;
|
|
@@ -1529,12 +1562,12 @@ body *::-webkit-scrollbar-track {
|
|
|
1529
1562
|
justify-content: start;
|
|
1530
1563
|
align-items: flex-start;
|
|
1531
1564
|
flex-direction: column;
|
|
1532
|
-
padding: 0
|
|
1565
|
+
padding: 0;
|
|
1533
1566
|
}
|
|
1534
1567
|
.q-collapsible__btn {
|
|
1535
1568
|
width: 100%;
|
|
1536
1569
|
margin: 0;
|
|
1537
|
-
padding: 0;
|
|
1570
|
+
padding: 0.55rem;
|
|
1538
1571
|
}
|
|
1539
1572
|
.q-collapsible__btn .q-button__content {
|
|
1540
1573
|
gap: 0;
|
|
@@ -1601,20 +1634,16 @@ body *::-webkit-scrollbar-track {
|
|
|
1601
1634
|
.q-collapsible--border-bottom .q-collapsible__header {
|
|
1602
1635
|
border: 0;
|
|
1603
1636
|
}
|
|
1604
|
-
.q-collapsible--required {
|
|
1605
|
-
font-weight: 700;
|
|
1606
|
-
color: var(--q-theme-danger);
|
|
1607
|
-
}
|
|
1608
1637
|
.q-collapsible--icon-right:not(.q-collapsible--borderless) .q-collapsible__title .q-icon {
|
|
1609
1638
|
margin: 0 0 0 auto;
|
|
1610
1639
|
}
|
|
1611
1640
|
.q-collapsible--icon-right .q-collapsible__subtitle {
|
|
1612
1641
|
margin-left: 0;
|
|
1613
1642
|
}
|
|
1614
|
-
.q-collapsible--loose .q-
|
|
1643
|
+
.q-collapsible--loose .q-collapsible__btn {
|
|
1615
1644
|
padding: calc(0.55rem + 0.25rem);
|
|
1616
1645
|
}
|
|
1617
|
-
.q-collapsible--compact .q-
|
|
1646
|
+
.q-collapsible--compact .q-collapsible__btn {
|
|
1618
1647
|
padding: calc(0.55rem + -0.25rem);
|
|
1619
1648
|
}
|
|
1620
1649
|
|
|
@@ -4708,11 +4737,6 @@ body *::-webkit-scrollbar-track {
|
|
|
4708
4737
|
.q-label .q-icon {
|
|
4709
4738
|
color: currentcolor;
|
|
4710
4739
|
}
|
|
4711
|
-
.q-label--required::after {
|
|
4712
|
-
content: " *";
|
|
4713
|
-
font-weight: 700;
|
|
4714
|
-
color: var(--q-theme-danger);
|
|
4715
|
-
}
|
|
4716
4740
|
.q-label--topright {
|
|
4717
4741
|
align-self: flex-end;
|
|
4718
4742
|
}
|
|
@@ -5841,6 +5865,188 @@ body *::-webkit-scrollbar-track {
|
|
|
5841
5865
|
transition: none;
|
|
5842
5866
|
}
|
|
5843
5867
|
}
|
|
5868
|
+
.q-tabs {
|
|
5869
|
+
display: flex;
|
|
5870
|
+
gap: 0;
|
|
5871
|
+
}
|
|
5872
|
+
.q-tabs--horizontal {
|
|
5873
|
+
flex-direction: column;
|
|
5874
|
+
}
|
|
5875
|
+
.q-tabs--horizontal .q-tabs__list {
|
|
5876
|
+
flex-direction: row;
|
|
5877
|
+
width: 100%;
|
|
5878
|
+
border-bottom: 1px solid var(--q-theme-neutral-light);
|
|
5879
|
+
}
|
|
5880
|
+
.q-tabs--horizontal .q-tab {
|
|
5881
|
+
margin-bottom: -1px;
|
|
5882
|
+
}
|
|
5883
|
+
.q-tabs--horizontal .q-tabs__panels {
|
|
5884
|
+
border: 1px solid var(--q-theme-neutral-light);
|
|
5885
|
+
border-top: 0;
|
|
5886
|
+
border-start-start-radius: 0;
|
|
5887
|
+
border-start-end-radius: 0;
|
|
5888
|
+
border-end-start-radius: 0.25rem;
|
|
5889
|
+
border-end-end-radius: 0.25rem;
|
|
5890
|
+
padding-inline: 0.5rem;
|
|
5891
|
+
}
|
|
5892
|
+
.q-tabs--vertical {
|
|
5893
|
+
flex-direction: row;
|
|
5894
|
+
align-items: stretch;
|
|
5895
|
+
}
|
|
5896
|
+
.q-tabs--vertical .q-tabs__list {
|
|
5897
|
+
flex: 0 0 auto;
|
|
5898
|
+
flex-direction: column;
|
|
5899
|
+
width: -moz-max-content;
|
|
5900
|
+
width: max-content;
|
|
5901
|
+
max-width: 100%;
|
|
5902
|
+
border-inline-end: 1px solid var(--q-theme-neutral-light);
|
|
5903
|
+
}
|
|
5904
|
+
.q-tabs--vertical .q-tab {
|
|
5905
|
+
justify-content: flex-start;
|
|
5906
|
+
margin-inline-end: -1px;
|
|
5907
|
+
}
|
|
5908
|
+
.q-tabs--vertical .q-tabs__panels {
|
|
5909
|
+
flex: 1;
|
|
5910
|
+
min-width: 0;
|
|
5911
|
+
border: 1px solid var(--q-theme-neutral-light);
|
|
5912
|
+
border-inline-start: 0;
|
|
5913
|
+
border-start-start-radius: 0;
|
|
5914
|
+
border-end-start-radius: 0;
|
|
5915
|
+
border-start-end-radius: 0.25rem;
|
|
5916
|
+
border-end-end-radius: 0.25rem;
|
|
5917
|
+
padding-inline: 0.5rem;
|
|
5918
|
+
}
|
|
5919
|
+
.q-tabs--line.q-tabs--horizontal .q-tab {
|
|
5920
|
+
border-bottom: 4px solid transparent;
|
|
5921
|
+
border-end-start-radius: 0;
|
|
5922
|
+
border-end-end-radius: 0;
|
|
5923
|
+
}
|
|
5924
|
+
.q-tabs--line.q-tabs--horizontal .q-tab--active {
|
|
5925
|
+
border-bottom-color: var(--q-theme-primary);
|
|
5926
|
+
}
|
|
5927
|
+
@media (hover: hover) {
|
|
5928
|
+
.q-tabs--line.q-tabs--horizontal .q-tab:hover:not(:disabled, .q-tab--active) {
|
|
5929
|
+
border-bottom-color: currentcolor;
|
|
5930
|
+
}
|
|
5931
|
+
}
|
|
5932
|
+
.q-tabs--line.q-tabs--vertical .q-tab {
|
|
5933
|
+
border-inline-end: 4px solid transparent;
|
|
5934
|
+
border-start-end-radius: 0;
|
|
5935
|
+
border-end-end-radius: 0;
|
|
5936
|
+
}
|
|
5937
|
+
.q-tabs--line.q-tabs--vertical .q-tab--active {
|
|
5938
|
+
border-inline-end-color: var(--q-theme-primary);
|
|
5939
|
+
}
|
|
5940
|
+
@media (hover: hover) {
|
|
5941
|
+
.q-tabs--line.q-tabs--vertical .q-tab:hover:not(:disabled, .q-tab--active) {
|
|
5942
|
+
border-inline-end-color: currentcolor;
|
|
5943
|
+
}
|
|
5944
|
+
}
|
|
5945
|
+
.q-tabs--card .q-tabs__list {
|
|
5946
|
+
gap: 0;
|
|
5947
|
+
}
|
|
5948
|
+
.q-tabs--card .q-tab {
|
|
5949
|
+
border: 1px solid var(--q-theme-neutral-light);
|
|
5950
|
+
background-color: rgb(var(--q-theme-neutral-light-rgb)/25%);
|
|
5951
|
+
}
|
|
5952
|
+
.q-tabs--card .q-tab--active {
|
|
5953
|
+
background-color: var(--q-theme-container);
|
|
5954
|
+
z-index: 1;
|
|
5955
|
+
}
|
|
5956
|
+
@media (hover: hover) {
|
|
5957
|
+
.q-tabs--card .q-tab:hover:not(:disabled) {
|
|
5958
|
+
border-color: var(--q-theme-neutral-light);
|
|
5959
|
+
}
|
|
5960
|
+
}
|
|
5961
|
+
.q-tabs--card.q-tabs--horizontal .q-tab {
|
|
5962
|
+
border-start-start-radius: 0.25rem;
|
|
5963
|
+
border-start-end-radius: 0.25rem;
|
|
5964
|
+
border-end-start-radius: 0;
|
|
5965
|
+
border-end-end-radius: 0;
|
|
5966
|
+
}
|
|
5967
|
+
.q-tabs--card.q-tabs--horizontal .q-tab--active {
|
|
5968
|
+
border-bottom-color: var(--q-theme-container);
|
|
5969
|
+
color: var(--q-theme-primary);
|
|
5970
|
+
}
|
|
5971
|
+
@media (hover: hover) {
|
|
5972
|
+
.q-tabs--card.q-tabs--horizontal .q-tab--active:hover:not(:disabled) {
|
|
5973
|
+
border-bottom-color: var(--q-theme-container);
|
|
5974
|
+
}
|
|
5975
|
+
}
|
|
5976
|
+
.q-tabs--card.q-tabs--vertical .q-tab {
|
|
5977
|
+
border-start-start-radius: 0.25rem;
|
|
5978
|
+
border-end-start-radius: 0.25rem;
|
|
5979
|
+
border-start-end-radius: 0;
|
|
5980
|
+
border-end-end-radius: 0;
|
|
5981
|
+
}
|
|
5982
|
+
.q-tabs--card.q-tabs--vertical .q-tab--active {
|
|
5983
|
+
border-inline-end-color: var(--q-theme-container);
|
|
5984
|
+
}
|
|
5985
|
+
@media (hover: hover) {
|
|
5986
|
+
.q-tabs--card.q-tabs--vertical .q-tab--active:hover:not(:disabled) {
|
|
5987
|
+
border-inline-end-color: var(--q-theme-container);
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5990
|
+
.q-tabs--align-start .q-tabs__list {
|
|
5991
|
+
justify-content: flex-start;
|
|
5992
|
+
}
|
|
5993
|
+
.q-tabs--align-end .q-tabs__list {
|
|
5994
|
+
justify-content: flex-end;
|
|
5995
|
+
}
|
|
5996
|
+
.q-tabs--align-center .q-tabs__list {
|
|
5997
|
+
justify-content: center;
|
|
5998
|
+
}
|
|
5999
|
+
.q-tabs--align-justify .q-tabs__list {
|
|
6000
|
+
justify-content: space-between;
|
|
6001
|
+
}
|
|
6002
|
+
.q-tabs--align-justify .q-tabs__list .q-tab {
|
|
6003
|
+
flex: 1;
|
|
6004
|
+
}
|
|
6005
|
+
.q-tabs__list {
|
|
6006
|
+
display: flex;
|
|
6007
|
+
gap: 0.25rem;
|
|
6008
|
+
}
|
|
6009
|
+
.q-tabs__panels {
|
|
6010
|
+
padding-block: 0.5rem;
|
|
6011
|
+
}
|
|
6012
|
+
.q-tabs__panel:focus {
|
|
6013
|
+
outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
|
|
6014
|
+
}
|
|
6015
|
+
.q-tabs__panel:focus:not(:focus-visible) {
|
|
6016
|
+
outline: 0;
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
.q-tab {
|
|
6020
|
+
background: transparent;
|
|
6021
|
+
border: 0;
|
|
6022
|
+
padding: 0.5rem 0.75rem;
|
|
6023
|
+
}
|
|
6024
|
+
.q-tab.q-button {
|
|
6025
|
+
color: var(--q-theme-on-background);
|
|
6026
|
+
}
|
|
6027
|
+
.q-tab--active.q-button {
|
|
6028
|
+
color: var(--q-theme-primary);
|
|
6029
|
+
cursor: default;
|
|
6030
|
+
}
|
|
6031
|
+
.q-tab--active.q-button:hover:not(:disabled) {
|
|
6032
|
+
color: var(--q-theme-primary);
|
|
6033
|
+
cursor: default;
|
|
6034
|
+
}
|
|
6035
|
+
.q-tab__title {
|
|
6036
|
+
display: inline-flex;
|
|
6037
|
+
align-items: center;
|
|
6038
|
+
gap: 0.125rem;
|
|
6039
|
+
}
|
|
6040
|
+
.q-tab__title-text {
|
|
6041
|
+
font-weight: 600;
|
|
6042
|
+
}
|
|
6043
|
+
.q-tab--disabled {
|
|
6044
|
+
cursor: not-allowed;
|
|
6045
|
+
}
|
|
6046
|
+
.q-tab--disabled:hover {
|
|
6047
|
+
cursor: not-allowed;
|
|
6048
|
+
}
|
|
6049
|
+
|
|
5844
6050
|
.q-text-area {
|
|
5845
6051
|
/* Container styles */
|
|
5846
6052
|
display: flex;
|