@quidgest/ui 0.16.38 → 0.16.39

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.38",
2
+ "version": "0.16.39",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -2724,6 +2724,89 @@
2724
2724
  },
2725
2725
  "examples": []
2726
2726
  },
2727
+ {
2728
+ "name": "QGroupBox",
2729
+ "description": "A container with a title that groups related content.",
2730
+ "meta": {
2731
+ "props": [
2732
+ {
2733
+ "name": "id",
2734
+ "type": "string | undefined",
2735
+ "description": "The component unique identifier.",
2736
+ "required": false,
2737
+ "category": "Identification"
2738
+ },
2739
+ {
2740
+ "name": "title",
2741
+ "type": "string | undefined",
2742
+ "description": "The title of the group box.",
2743
+ "required": false,
2744
+ "category": "Content"
2745
+ },
2746
+ {
2747
+ "name": "borderless",
2748
+ "type": "boolean | undefined",
2749
+ "description": "If true, the group box has no borders.",
2750
+ "required": false,
2751
+ "category": "Presentation"
2752
+ },
2753
+ {
2754
+ "name": "variant",
2755
+ "type": "QGroupBoxVariant | undefined",
2756
+ "description": "The styling variant of the group box.",
2757
+ "default": "\"default\"",
2758
+ "required": false,
2759
+ "category": "Presentation"
2760
+ },
2761
+ {
2762
+ "name": "block",
2763
+ "type": "boolean | undefined",
2764
+ "description": "If true, the group box spans the full width of its container.",
2765
+ "required": false,
2766
+ "category": "Presentation"
2767
+ }
2768
+ ],
2769
+ "events": [],
2770
+ "slots": [
2771
+ {
2772
+ "name": "default",
2773
+ "description": ""
2774
+ }
2775
+ ]
2776
+ },
2777
+ "examples": [
2778
+ {
2779
+ "title": "Default",
2780
+ "description": "A basic group box with a title and example content.",
2781
+ "code": "<q-group-box v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-group-box>"
2782
+ },
2783
+ {
2784
+ "title": "No Title",
2785
+ "description": "A group box without a title.",
2786
+ "code": "<QGroupBox />"
2787
+ },
2788
+ {
2789
+ "title": "Borderless",
2790
+ "description": "A group box without borders.",
2791
+ "code": "<QGroupBox :title=\"Borderless\" :borderless=\"true\" />"
2792
+ },
2793
+ {
2794
+ "title": "Block",
2795
+ "description": "A group box spanning full width of its container.",
2796
+ "code": "<QGroupBox :title=\"Block Group Box\" :block=\"true\" />"
2797
+ },
2798
+ {
2799
+ "title": "Variants",
2800
+ "description": "Group box with different styling variants.",
2801
+ "code": "<div style=\"display: flex; flex-direction: column; gap: 1rem;\">\n\t\t\t\t<q-group-box title=\"Default\" variant=\"default\">\n\t\t\t\t\t<p>Default variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Background\" variant=\"background\">\n\t\t\t\t\t<p>Background variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Minor\" variant=\"minor\">\n\t\t\t\t\t<p>Minor variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Minor Border Top\" variant=\"minor-border-top\">\n\t\t\t\t\t<p>Minor with border top variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Title Background\" variant=\"title-background\">\n\t\t\t\t\t<p>Title background variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t</div>"
2802
+ },
2803
+ {
2804
+ "title": "Nested Groups",
2805
+ "description": "Nested group boxes demonstrating hierarchy.",
2806
+ "code": "<q-group-box v-bind=\"args\">\n\t\t\t\t<p>Top-level content</p>\n\t\t\t\t<q-group-box variant=\"minor\" title=\"Mid Level\">\n\t\t\t\t\t<p>Mid-level content</p>\n\t\t\t\t\t<q-group-box variant=\"minor-border-top\" title=\"Leaf\">\n\t\t\t\t\t\t<p>Leaf content</p>\n\t\t\t\t\t</q-group-box>\n\t\t\t\t</q-group-box>\n\t\t\t</q-group-box>"
2807
+ }
2808
+ ]
2809
+ },
2727
2810
  {
2728
2811
  "name": "QIcon",
2729
2812
  "description": "Displays an icon. Note: This Storybook includes a Material Design Icons v7.3.67 SVG bundle for demonstration purposes. For the complete list of available icons, visit the official [Material Design Icons](https://pictogrammers.com/library/mdi/) page.",
@@ -27,6 +27,7 @@
27
27
  "QContainer",
28
28
  "QRow",
29
29
  "QSpacer",
30
+ "QGroupBox",
30
31
  "QIcon",
31
32
  "QIconFont",
32
33
  "QIconImg",
package/dist/ui.css CHANGED
@@ -3655,6 +3655,117 @@ body *::-webkit-scrollbar-track {
3655
3655
  flex: 1 1 0;
3656
3656
  }
3657
3657
 
3658
+ .q-group-box {
3659
+ display: inline-block;
3660
+ word-wrap: break-word;
3661
+ background-color: var(--q-theme-container);
3662
+ border-width: 1px;
3663
+ border-bottom: 1px solid var(--q-theme-neutral-light);
3664
+ padding: 0.5rem 1rem 1rem;
3665
+ border-radius: var(--border-radius);
3666
+ position: relative;
3667
+ max-width: 100%;
3668
+ }
3669
+ .q-group-box:focus-visible {
3670
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
3671
+ border-radius: var(--border-radius);
3672
+ }
3673
+ .q-group-box__title {
3674
+ font-size: 1.2rem;
3675
+ line-height: 1rem;
3676
+ letter-spacing: 0.02rem;
3677
+ color: var(--q-theme-primary);
3678
+ text-transform: uppercase;
3679
+ margin: 0;
3680
+ margin-top: 0.25rem;
3681
+ display: flex;
3682
+ align-items: flex-start;
3683
+ width: -moz-fit-content;
3684
+ width: fit-content;
3685
+ gap: 0.25rem;
3686
+ margin-bottom: 0.5rem;
3687
+ }
3688
+ .q-group-box--background {
3689
+ background-color: rgb(var(--q-theme-primary-light-rgb)/50%);
3690
+ padding: 0.5rem 1rem 1rem;
3691
+ }
3692
+ .q-group-box--minor {
3693
+ background-color: transparent;
3694
+ border: none;
3695
+ border-radius: 0;
3696
+ padding: 0.5rem 0 0;
3697
+ }
3698
+ .q-group-box--minor-border-top {
3699
+ background-color: transparent;
3700
+ border: none;
3701
+ border-top: 1px solid var(--q-theme-neutral-light);
3702
+ border-radius: 0;
3703
+ margin-top: 0.5rem;
3704
+ padding: 0.25rem 0;
3705
+ }
3706
+ .q-group-box--minor .q-group-box__title, .q-group-box--minor-border-top .q-group-box__title {
3707
+ font-size: 0.9rem;
3708
+ line-height: 1;
3709
+ letter-spacing: initial;
3710
+ color: var(--q-theme-neutral-dark);
3711
+ text-transform: none;
3712
+ font-weight: 600;
3713
+ margin-bottom: 0.25rem;
3714
+ margin-top: 0.25rem;
3715
+ }
3716
+ .q-group-box--title-background {
3717
+ padding: 0 !important;
3718
+ }
3719
+ .q-group-box--title-background::before {
3720
+ position: absolute;
3721
+ top: 0;
3722
+ left: 0;
3723
+ height: 30px;
3724
+ width: 100%;
3725
+ content: "";
3726
+ background-color: rgb(var(--q-theme-neutral-light-rgb)/25%);
3727
+ border-radius: var(--border-radius) var(--border-radius) 0 0;
3728
+ }
3729
+ .q-group-box--title-background .q-group-box__title {
3730
+ padding: 0.5rem 1rem;
3731
+ margin: 0;
3732
+ font-size: 0.9rem;
3733
+ font-weight: 700;
3734
+ line-height: 1;
3735
+ letter-spacing: 0.01rem;
3736
+ color: var(--q-theme-on-background);
3737
+ text-transform: none;
3738
+ z-index: 10;
3739
+ position: relative;
3740
+ }
3741
+ .q-group-box--title-background > .q-group-box__content {
3742
+ padding: 0.2rem 1rem 1rem;
3743
+ }
3744
+ .q-group-box--subsection {
3745
+ border: none;
3746
+ margin-left: 0.625rem;
3747
+ margin-bottom: 0.625rem;
3748
+ }
3749
+ .q-group-box--subsection .q-group-box__title {
3750
+ font-size: 0.9rem;
3751
+ line-height: 1;
3752
+ letter-spacing: initial;
3753
+ background-color: transparent;
3754
+ color: var(--q-theme-neutral-dark);
3755
+ text-transform: none;
3756
+ font-weight: 600;
3757
+ margin-bottom: 0.25rem;
3758
+ }
3759
+ .q-group-box--borderless {
3760
+ border-color: transparent;
3761
+ margin: 0;
3762
+ padding: 0;
3763
+ background-color: transparent;
3764
+ }
3765
+ .q-group-box--block {
3766
+ width: 100%;
3767
+ }
3768
+
3658
3769
  .q-icon {
3659
3770
  display: inline-block;
3660
3771
  color: var(--q-theme-primary);
@@ -4274,13 +4385,14 @@ body *::-webkit-scrollbar-track {
4274
4385
  width: 100%;
4275
4386
  }
4276
4387
  .q-select__badge-container .q-select__badge-count {
4277
- font-weight: bold;
4388
+ font-weight: 900;
4278
4389
  }
4279
4390
  .q-select__badge-container .q-select__badge-hidden {
4280
4391
  visibility: hidden;
4281
4392
  }
4282
4393
  .q-select__badge-container .q-badge__content {
4283
4394
  height: 0.85em;
4395
+ white-space: nowrap;
4284
4396
  }
4285
4397
  .q-select__placeholder {
4286
4398
  font-style: italic;