@ukic/docs 3.1.0 → 3.2.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 (2) hide show
  1. package/docs.json +103 -63
  2. package/package.json +2 -2
package/docs.json CHANGED
@@ -558,10 +558,10 @@
558
558
  "props": [
559
559
  {
560
560
  "name": "announced",
561
- "type": "boolean | undefined",
561
+ "type": "boolean",
562
562
  "complexType": {
563
563
  "original": "boolean",
564
- "resolved": "boolean | undefined",
564
+ "resolved": "boolean",
565
565
  "references": {}
566
566
  },
567
567
  "mutable": false,
@@ -573,22 +573,19 @@
573
573
  "values": [
574
574
  {
575
575
  "type": "boolean"
576
- },
577
- {
578
- "type": "undefined"
579
576
  }
580
577
  ],
581
- "optional": true,
578
+ "optional": false,
582
579
  "required": false,
583
580
  "getter": false,
584
581
  "setter": false
585
582
  },
586
583
  {
587
584
  "name": "dismissible",
588
- "type": "boolean | undefined",
585
+ "type": "boolean",
589
586
  "complexType": {
590
587
  "original": "boolean",
591
- "resolved": "boolean | undefined",
588
+ "resolved": "boolean",
592
589
  "references": {}
593
590
  },
594
591
  "mutable": false,
@@ -600,22 +597,19 @@
600
597
  "values": [
601
598
  {
602
599
  "type": "boolean"
603
- },
604
- {
605
- "type": "undefined"
606
600
  }
607
601
  ],
608
- "optional": true,
602
+ "optional": false,
609
603
  "required": false,
610
604
  "getter": false,
611
605
  "setter": false
612
606
  },
613
607
  {
614
608
  "name": "heading",
615
- "type": "string | undefined",
609
+ "type": "string",
616
610
  "complexType": {
617
611
  "original": "string",
618
- "resolved": "string | undefined",
612
+ "resolved": "string",
619
613
  "references": {}
620
614
  },
621
615
  "mutable": false,
@@ -627,12 +621,9 @@
627
621
  "values": [
628
622
  {
629
623
  "type": "string"
630
- },
631
- {
632
- "type": "undefined"
633
624
  }
634
625
  ],
635
- "optional": true,
626
+ "optional": false,
636
627
  "required": false,
637
628
  "getter": false,
638
629
  "setter": false
@@ -665,10 +656,10 @@
665
656
  },
666
657
  {
667
658
  "name": "showDefaultIcon",
668
- "type": "boolean | undefined",
659
+ "type": "boolean",
669
660
  "complexType": {
670
661
  "original": "boolean",
671
- "resolved": "boolean | undefined",
662
+ "resolved": "boolean",
672
663
  "references": {}
673
664
  },
674
665
  "mutable": false,
@@ -680,22 +671,19 @@
680
671
  "values": [
681
672
  {
682
673
  "type": "boolean"
683
- },
684
- {
685
- "type": "undefined"
686
674
  }
687
675
  ],
688
- "optional": true,
676
+ "optional": false,
689
677
  "required": false,
690
678
  "getter": false,
691
679
  "setter": false
692
680
  },
693
681
  {
694
682
  "name": "theme",
695
- "type": "\"dark\" | \"inherit\" | \"light\" | undefined",
683
+ "type": "\"dark\" | \"inherit\" | \"light\"",
696
684
  "complexType": {
697
685
  "original": "IcThemeMode",
698
- "resolved": "\"dark\" | \"inherit\" | \"light\" | undefined",
686
+ "resolved": "\"dark\" | \"inherit\" | \"light\"",
699
687
  "references": {
700
688
  "IcThemeMode": {
701
689
  "location": "import",
@@ -722,22 +710,19 @@
722
710
  {
723
711
  "value": "light",
724
712
  "type": "string"
725
- },
726
- {
727
- "type": "undefined"
728
713
  }
729
714
  ],
730
- "optional": true,
715
+ "optional": false,
731
716
  "required": false,
732
717
  "getter": false,
733
718
  "setter": false
734
719
  },
735
720
  {
736
721
  "name": "titleAbove",
737
- "type": "boolean | undefined",
722
+ "type": "boolean",
738
723
  "complexType": {
739
724
  "original": "boolean",
740
- "resolved": "boolean | undefined",
725
+ "resolved": "boolean",
741
726
  "references": {}
742
727
  },
743
728
  "mutable": false,
@@ -749,22 +734,19 @@
749
734
  "values": [
750
735
  {
751
736
  "type": "boolean"
752
- },
753
- {
754
- "type": "undefined"
755
737
  }
756
738
  ],
757
- "optional": true,
739
+ "optional": false,
758
740
  "required": false,
759
741
  "getter": false,
760
742
  "setter": false
761
743
  },
762
744
  {
763
745
  "name": "variant",
764
- "type": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\" | undefined",
746
+ "type": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
765
747
  "complexType": {
766
748
  "original": "IcStatusVariants",
767
- "resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\" | undefined",
749
+ "resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
768
750
  "references": {
769
751
  "IcStatusVariants": {
770
752
  "location": "import",
@@ -799,12 +781,9 @@
799
781
  {
800
782
  "value": "warning",
801
783
  "type": "string"
802
- },
803
- {
804
- "type": "undefined"
805
784
  }
806
785
  ],
807
- "optional": true,
786
+ "optional": false,
808
787
  "required": false,
809
788
  "getter": false,
810
789
  "setter": false
@@ -832,6 +811,12 @@
832
811
  "event": "icDismiss",
833
812
  "capture": true,
834
813
  "passive": false
814
+ },
815
+ {
816
+ "event": "icThemeChange",
817
+ "target": "document",
818
+ "capture": true,
819
+ "passive": false
835
820
  }
836
821
  ],
837
822
  "styles": [],
@@ -15464,7 +15449,7 @@
15464
15449
  "mutable": true,
15465
15450
  "attr": "value",
15466
15451
  "reflectToAttr": false,
15467
- "docs": "The value of the select, reflected by the value of the currently selected option.\r\nFor the searchable variant, the value is also reflected by the user input.\r\nFor the multi-select variant, the value must be an array of option values.",
15452
+ "docs": "The value of the select, reflected by the value of the currently selected option.\nFor the searchable variant, the value is also reflected by the user input.\nFor the multi-select variant, the value must be an array of option values.",
15468
15453
  "docsTags": [],
15469
15454
  "values": [
15470
15455
  {
@@ -15658,7 +15643,7 @@
15658
15643
  },
15659
15644
  "cancelable": true,
15660
15645
  "composed": true,
15661
- "docs": "Emitted when an option is selected.\r\nSelecting an option will also trigger an `icChange/onIcChange` due to the value being updated.",
15646
+ "docs": "Emitted when an option is selected.\nSelecting an option will also trigger an `icChange/onIcChange` due to the value being updated.",
15662
15647
  "docsTags": []
15663
15648
  },
15664
15649
  {
@@ -16426,7 +16411,30 @@
16426
16411
  "setter": false
16427
16412
  }
16428
16413
  ],
16429
- "methods": [],
16414
+ "methods": [
16415
+ {
16416
+ "name": "setFocus",
16417
+ "returns": {
16418
+ "type": "Promise<void>",
16419
+ "docs": ""
16420
+ },
16421
+ "complexType": {
16422
+ "signature": "() => Promise<void>",
16423
+ "parameters": [],
16424
+ "references": {
16425
+ "Promise": {
16426
+ "location": "global",
16427
+ "id": "global::Promise"
16428
+ }
16429
+ },
16430
+ "return": "Promise<void>"
16431
+ },
16432
+ "signature": "setFocus() => Promise<void>",
16433
+ "parameters": [],
16434
+ "docs": "Sets focus on the element.",
16435
+ "docsTags": []
16436
+ }
16437
+ ],
16430
16438
  "events": [],
16431
16439
  "listeners": [],
16432
16440
  "styles": [
@@ -17900,7 +17908,7 @@
17900
17908
  "mutable": false,
17901
17909
  "attr": "autocapitalize",
17902
17910
  "reflectToAttr": false,
17903
- "docs": "The automatic capitalisation of the text value as it is entered/edited by the user.\nAvailable options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\".",
17911
+ "docs": "The automatic capitalisation of the text value as it is entered/edited by the user.\r\nAvailable options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\".",
17904
17912
  "docsTags": [],
17905
17913
  "default": "\"off\"",
17906
17914
  "values": [
@@ -18079,7 +18087,7 @@
18079
18087
  "mutable": false,
18080
18088
  "attr": "full-width",
18081
18089
  "reflectToAttr": false,
18082
- "docs": "Specify whether the text field fills the full width of the container.\nIf `true`, this overrides the --input-width CSS variable.",
18090
+ "docs": "Specify whether the text field fills the full width of the container.\r\nIf `true`, this overrides the --input-width CSS variable.",
18083
18091
  "docsTags": [],
18084
18092
  "default": "false",
18085
18093
  "values": [
@@ -18220,7 +18228,7 @@
18220
18228
  "mutable": false,
18221
18229
  "attr": "inputmode",
18222
18230
  "reflectToAttr": false,
18223
- "docs": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.",
18231
+ "docs": "A hint to the browser for which keyboard to display.\r\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\r\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.",
18224
18232
  "docsTags": [],
18225
18233
  "default": "\"text\"",
18226
18234
  "values": [
@@ -19184,9 +19192,15 @@
19184
19192
  "name": "theme",
19185
19193
  "type": "\"dark\" | \"light\" | \"system\" | undefined",
19186
19194
  "complexType": {
19187
- "original": "\"dark\" | \"light\" | \"system\"",
19195
+ "original": "IcThemeSettings",
19188
19196
  "resolved": "\"dark\" | \"light\" | \"system\" | undefined",
19189
- "references": {}
19197
+ "references": {
19198
+ "IcThemeSettings": {
19199
+ "location": "import",
19200
+ "path": "../../utils/types",
19201
+ "id": "src/utils/types.ts::IcThemeSettings"
19202
+ }
19203
+ }
19190
19204
  },
19191
19205
  "mutable": false,
19192
19206
  "attr": "theme",
@@ -19218,7 +19232,28 @@
19218
19232
  }
19219
19233
  ],
19220
19234
  "methods": [],
19221
- "events": [],
19235
+ "events": [
19236
+ {
19237
+ "event": "icThemeChange",
19238
+ "detail": "\"dark\" | \"light\" | \"system\"",
19239
+ "bubbles": true,
19240
+ "complexType": {
19241
+ "original": "IcThemeSettings",
19242
+ "resolved": "\"dark\" | \"light\" | \"system\"",
19243
+ "references": {
19244
+ "IcThemeSettings": {
19245
+ "location": "import",
19246
+ "path": "../../utils/types",
19247
+ "id": "src/utils/types.ts::IcThemeSettings"
19248
+ }
19249
+ }
19250
+ },
19251
+ "cancelable": true,
19252
+ "composed": true,
19253
+ "docs": "Emitted when the theme is changed.",
19254
+ "docsTags": []
19255
+ }
19256
+ ],
19222
19257
  "listeners": [],
19223
19258
  "styles": [],
19224
19259
  "slots": [],
@@ -19256,7 +19291,7 @@
19256
19291
  "mutable": true,
19257
19292
  "attr": "auto-dismiss-timeout",
19258
19293
  "reflectToAttr": false,
19259
- "docs": "If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\r\n(NOTE: Has a minimum value of `5000ms`)",
19294
+ "docs": "If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\n(NOTE: Has a minimum value of `5000ms`)",
19260
19295
  "docsTags": [],
19261
19296
  "default": "5000",
19262
19297
  "values": [
@@ -20989,7 +21024,7 @@
20989
21024
  "mutable": false,
20990
21025
  "attr": "custom-mobile-breakpoint",
20991
21026
  "reflectToAttr": false,
20992
- "docs": "Can set a custom breakpoint for the top navigation to switch to mobile mode.\nMust be one of our specified breakpoints in px: `0`, `576`, `768`, `992`, `1200`.",
21027
+ "docs": "Can set a custom breakpoint for the top navigation to switch to mobile mode.\r\nMust be one of our specified breakpoints in px: `0`, `576`, `768`, `992`, `1200`.",
20993
21028
  "docsTags": [],
20994
21029
  "default": "DEVICE_SIZES.L",
20995
21030
  "values": [
@@ -21796,7 +21831,7 @@
21796
21831
  "path": "src/utils/types.ts"
21797
21832
  },
21798
21833
  "src/utils/types.ts::IcStatusVariants": {
21799
- "declaration": "export type IcStatusVariants =\n | \"neutral\"\n | \"info\"\n | \"warning\"\n | \"error\"\n | \"success\";",
21834
+ "declaration": "export type IcStatusVariants =\r\n | \"neutral\"\r\n | \"info\"\r\n | \"warning\"\r\n | \"error\"\r\n | \"success\";",
21800
21835
  "docstring": "",
21801
21836
  "path": "src/utils/types.ts"
21802
21837
  },
@@ -21901,7 +21936,7 @@
21901
21936
  "path": "src/components/ic-text-field/ic-text-field.types.ts"
21902
21937
  },
21903
21938
  "src/utils/types.ts::IcAutocompleteTypes": {
21904
- "declaration": "export type IcAutocompleteTypes =\n | \"on\"\n | \"off\"\n | \"name\"\n | \"honorific-prefix\"\n | \"given-name\"\n | \"additional-name\"\n | \"family-name\"\n | \"honorific-suffix\"\n | \"nickname\"\n | \"email\"\n | \"username\"\n | \"new-password\"\n | \"current-password\"\n | \"one-time-code\"\n | \"organization-title\"\n | \"organization\"\n | \"street-address\"\n | \"address-line1\"\n | \"address-line2\"\n | \"address-line3\"\n | \"address-level4\"\n | \"address-level3\"\n | \"address-level2\"\n | \"address-level1\"\n | \"country\"\n | \"country-name\"\n | \"postal-code\"\n | \"cc-name\"\n | \"cc-given-name\"\n | \"cc-additional-name\"\n | \"cc-family-name\"\n | \"cc-family-name\"\n | \"cc-number\"\n | \"cc-exp\"\n | \"cc-exp-month\"\n | \"cc-exp-year\"\n | \"cc-csc\"\n | \"cc-type\"\n | \"transaction-currency\"\n | \"transaction-amount\"\n | \"language\"\n | \"bday\"\n | \"bday-day\"\n | \"bday-month\"\n | \"bday-year\"\n | \"sex\"\n | \"tel\"\n | \"tel-country-code\"\n | \"tel-national\"\n | \"tel-area-code\"\n | \"tel-local\"\n | \"tel-extension\"\n | \"impp\"\n | \"url\"\n | \"photo\";",
21939
+ "declaration": "export type IcAutocompleteTypes =\r\n | \"on\"\r\n | \"off\"\r\n | \"name\"\r\n | \"honorific-prefix\"\r\n | \"given-name\"\r\n | \"additional-name\"\r\n | \"family-name\"\r\n | \"honorific-suffix\"\r\n | \"nickname\"\r\n | \"email\"\r\n | \"username\"\r\n | \"new-password\"\r\n | \"current-password\"\r\n | \"one-time-code\"\r\n | \"organization-title\"\r\n | \"organization\"\r\n | \"street-address\"\r\n | \"address-line1\"\r\n | \"address-line2\"\r\n | \"address-line3\"\r\n | \"address-level4\"\r\n | \"address-level3\"\r\n | \"address-level2\"\r\n | \"address-level1\"\r\n | \"country\"\r\n | \"country-name\"\r\n | \"postal-code\"\r\n | \"cc-name\"\r\n | \"cc-given-name\"\r\n | \"cc-additional-name\"\r\n | \"cc-family-name\"\r\n | \"cc-family-name\"\r\n | \"cc-number\"\r\n | \"cc-exp\"\r\n | \"cc-exp-month\"\r\n | \"cc-exp-year\"\r\n | \"cc-csc\"\r\n | \"cc-type\"\r\n | \"transaction-currency\"\r\n | \"transaction-amount\"\r\n | \"language\"\r\n | \"bday\"\r\n | \"bday-day\"\r\n | \"bday-month\"\r\n | \"bday-year\"\r\n | \"sex\"\r\n | \"tel\"\r\n | \"tel-country-code\"\r\n | \"tel-national\"\r\n | \"tel-area-code\"\r\n | \"tel-local\"\r\n | \"tel-extension\"\r\n | \"impp\"\r\n | \"url\"\r\n | \"photo\";",
21905
21940
  "docstring": "",
21906
21941
  "path": "src/utils/types.ts"
21907
21942
  },
@@ -21926,7 +21961,7 @@
21926
21961
  "path": "src/components/ic-text-field/ic-text-field.types.ts"
21927
21962
  },
21928
21963
  "src/utils/types.ts::IcValueEventDetail": {
21929
- "declaration": "export interface IcValueEventDetail {\n value: string;\n keyPressed?: string;\n}",
21964
+ "declaration": "export interface IcValueEventDetail {\r\n value: string;\r\n keyPressed?: string;\r\n}",
21930
21965
  "docstring": "",
21931
21966
  "path": "src/utils/types.ts"
21932
21967
  },
@@ -21936,7 +21971,7 @@
21936
21971
  "path": "src/components/ic-search-bar/ic-search-bar.types.ts"
21937
21972
  },
21938
21973
  "src/utils/types.ts::IcMenuOption": {
21939
- "declaration": "export interface IcMenuOption {\n description?: string;\n disabled?: boolean;\n recommended?: boolean;\n children?: IcMenuOption[];\n loading?: boolean;\n timedOut?: boolean;\n [key: string]: any;\n element?: {\n component: any;\n ariaLabel: string;\n };\n icon?: any;\n}",
21974
+ "declaration": "export interface IcMenuOption {\r\n description?: string;\r\n disabled?: boolean;\r\n recommended?: boolean;\r\n children?: IcMenuOption[];\r\n loading?: boolean;\r\n timedOut?: boolean;\r\n [key: string]: any;\r\n element?: {\r\n component: any;\r\n ariaLabel: string;\r\n };\r\n icon?: any;\r\n}",
21940
21975
  "docstring": "",
21941
21976
  "path": "src/utils/types.ts"
21942
21977
  },
@@ -21951,12 +21986,12 @@
21951
21986
  "path": "src/components/ic-menu/ic-menu.types.ts"
21952
21987
  },
21953
21988
  "src/utils/types.ts::IcBlurEventDetail": {
21954
- "declaration": "export interface IcBlurEventDetail {\n relatedTarget: IcRelatedTarget | null;\n}",
21989
+ "declaration": "export interface IcBlurEventDetail {\r\n relatedTarget: IcRelatedTarget | null;\r\n}",
21955
21990
  "docstring": "",
21956
21991
  "path": "src/utils/types.ts"
21957
21992
  },
21958
21993
  "src/utils/types.ts::IcMultiValueEventDetail": {
21959
- "declaration": "export interface IcMultiValueEventDetail {\n value: string | string[] | null;\n keyPressed?: string;\n}",
21994
+ "declaration": "export interface IcMultiValueEventDetail {\r\n value: string | string[] | null;\r\n keyPressed?: string;\r\n}",
21960
21995
  "docstring": "",
21961
21996
  "path": "src/utils/types.ts"
21962
21997
  },
@@ -21996,7 +22031,7 @@
21996
22031
  "path": "src/components/ic-divider/ic-divider.types.tsx"
21997
22032
  },
21998
22033
  "src/utils/types.ts::IcTypographyVariants": {
21999
- "declaration": "export type IcTypographyVariants =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"subtitle-large\"\n | \"subtitle-small\"\n | \"body\"\n | \"label\"\n | \"label-uppercase\"\n | \"caption\"\n | \"caption-uppercase\"\n | \"code-large\"\n | \"code-small\"\n | \"code-extra-small\"\n | \"badge\"\n | \"badge-small\";",
22034
+ "declaration": "export type IcTypographyVariants =\r\n | \"h1\"\r\n | \"h2\"\r\n | \"h3\"\r\n | \"h4\"\r\n | \"subtitle-large\"\r\n | \"subtitle-small\"\r\n | \"body\"\r\n | \"label\"\r\n | \"label-uppercase\"\r\n | \"caption\"\r\n | \"caption-uppercase\"\r\n | \"code-large\"\r\n | \"code-small\"\r\n | \"code-extra-small\"\r\n | \"badge\"\r\n | \"badge-small\";",
22000
22035
  "docstring": "",
22001
22036
  "path": "src/utils/types.ts"
22002
22037
  },
@@ -22041,12 +22076,12 @@
22041
22076
  "path": "src/components/ic-menu-item/ic-menu-item.types.ts"
22042
22077
  },
22043
22078
  "src/components/ic-navigation-group/ic-navigation-group.types.ts::IcNavigationOpenEventDetail": {
22044
- "declaration": "export interface IcNavigationOpenEventDetail {\r\n source: HTMLElement;\r\n}",
22079
+ "declaration": "export interface IcNavigationOpenEventDetail {\n source: HTMLElement;\n}",
22045
22080
  "docstring": "",
22046
22081
  "path": "src/components/ic-navigation-group/ic-navigation-group.types.ts"
22047
22082
  },
22048
22083
  "src/components/ic-navigation-group/ic-navigation-group.types.ts::IcNavigationExpandEventDetail": {
22049
- "declaration": "export interface IcNavigationExpandEventDetail {\r\n expanded: boolean;\r\n}",
22084
+ "declaration": "export interface IcNavigationExpandEventDetail {\n expanded: boolean;\n}",
22050
22085
  "docstring": "",
22051
22086
  "path": "src/components/ic-navigation-group/ic-navigation-group.types.ts"
22052
22087
  },
@@ -22115,8 +22150,13 @@
22115
22150
  "docstring": "",
22116
22151
  "path": "src/components/ic-tab/ic-tab.types.ts"
22117
22152
  },
22153
+ "src/utils/types.ts::IcThemeSettings": {
22154
+ "declaration": "export type IcThemeSettings = \"dark\" | \"light\" | \"system\";",
22155
+ "docstring": "",
22156
+ "path": "src/utils/types.ts"
22157
+ },
22118
22158
  "src/utils/types.ts::IcBrand": {
22119
- "declaration": "{\n mode: IcBrandForeground;\n color: IcColorRGB;\n}",
22159
+ "declaration": "{\r\n mode: IcBrandForeground;\r\n color: IcColorRGB;\r\n}",
22120
22160
  "docstring": "",
22121
22161
  "path": "src/utils/types.ts"
22122
22162
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "mi6",
3
3
  "name": "@ukic/docs",
4
- "version": "3.1.0",
4
+ "version": "3.2.0",
5
5
  "description": "API documentation for @ukic components",
6
6
  "main": "docs.json",
7
7
  "types": "docs.d.ts",
@@ -19,5 +19,5 @@
19
19
  },
20
20
  "license": "MIT",
21
21
  "packageManager": "^npm@10.9.2",
22
- "gitHead": "6ddd470175efc6e34d94c67fe05db42304dd4e3c"
22
+ "gitHead": "e084fa80621797c35c5a59446ea6a3e97486a552"
23
23
  }