@skedulo/breeze-ui 1.11.0 → 1.13.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.
@@ -8155,6 +8155,19 @@
8155
8155
  "module": "src/components/form-elements/input-base.ts"
8156
8156
  }
8157
8157
  },
8158
+ {
8159
+ "name": "left-label",
8160
+ "type": {
8161
+ "text": "boolean"
8162
+ },
8163
+ "default": "false",
8164
+ "description": "Puts the label to the left of the checkbox",
8165
+ "fieldName": "leftLabel",
8166
+ "inheritedFrom": {
8167
+ "name": "InputCheckbox",
8168
+ "module": "src/components/form-elements/input-checkbox.ts"
8169
+ }
8170
+ },
8158
8171
  {
8159
8172
  "name": "value",
8160
8173
  "type": {
@@ -8265,6 +8278,21 @@
8265
8278
  "module": "src/components/form-elements/input-base.ts"
8266
8279
  }
8267
8280
  },
8281
+ {
8282
+ "kind": "field",
8283
+ "name": "leftLabel",
8284
+ "type": {
8285
+ "text": "boolean"
8286
+ },
8287
+ "default": "false",
8288
+ "description": "Puts the label to the left of the checkbox",
8289
+ "attribute": "left-label",
8290
+ "reflects": true,
8291
+ "inheritedFrom": {
8292
+ "name": "InputCheckbox",
8293
+ "module": "src/components/form-elements/input-checkbox.ts"
8294
+ }
8295
+ },
8268
8296
  {
8269
8297
  "kind": "field",
8270
8298
  "name": "value",
@@ -10075,6 +10103,18 @@
10075
10103
  "module": "src/components/form-elements/input-base.ts"
10076
10104
  }
10077
10105
  },
10106
+ {
10107
+ "name": "units",
10108
+ "type": {
10109
+ "text": "string | undefined"
10110
+ },
10111
+ "description": "Sets the units type",
10112
+ "fieldName": "units",
10113
+ "inheritedFrom": {
10114
+ "name": "InputNumber",
10115
+ "module": "src/components/form-elements/input-number.ts"
10116
+ }
10117
+ },
10078
10118
  {
10079
10119
  "name": "has-no-stepper",
10080
10120
  "type": {
@@ -10306,6 +10346,20 @@
10306
10346
  "module": "src/components/form-elements/input-base.ts"
10307
10347
  }
10308
10348
  },
10349
+ {
10350
+ "kind": "field",
10351
+ "name": "units",
10352
+ "type": {
10353
+ "text": "string | undefined"
10354
+ },
10355
+ "description": "Sets the units type",
10356
+ "attribute": "units",
10357
+ "reflects": true,
10358
+ "inheritedFrom": {
10359
+ "name": "InputNumber",
10360
+ "module": "src/components/form-elements/input-number.ts"
10361
+ }
10362
+ },
10309
10363
  {
10310
10364
  "kind": "field",
10311
10365
  "name": "hasNoStepper",
@@ -21352,6 +21406,14 @@
21352
21406
  "name": "*",
21353
21407
  "package": "./labeled-input"
21354
21408
  }
21409
+ },
21410
+ {
21411
+ "kind": "js",
21412
+ "name": "*",
21413
+ "declaration": {
21414
+ "name": "*",
21415
+ "package": "./toggle-switch"
21416
+ }
21355
21417
  }
21356
21418
  ]
21357
21419
  },
@@ -21575,6 +21637,17 @@
21575
21637
  "module": "src/components/form-elements/input-base.ts"
21576
21638
  }
21577
21639
  },
21640
+ {
21641
+ "kind": "field",
21642
+ "name": "leftLabel",
21643
+ "type": {
21644
+ "text": "boolean"
21645
+ },
21646
+ "default": "false",
21647
+ "description": "Puts the label to the left of the checkbox",
21648
+ "attribute": "left-label",
21649
+ "reflects": true
21650
+ },
21578
21651
  {
21579
21652
  "kind": "field",
21580
21653
  "name": "value",
@@ -21759,6 +21832,15 @@
21759
21832
  "module": "src/components/form-elements/input-base.ts"
21760
21833
  }
21761
21834
  },
21835
+ {
21836
+ "name": "left-label",
21837
+ "type": {
21838
+ "text": "boolean"
21839
+ },
21840
+ "default": "false",
21841
+ "description": "Puts the label to the left of the checkbox",
21842
+ "fieldName": "leftLabel"
21843
+ },
21762
21844
  {
21763
21845
  "name": "value",
21764
21846
  "type": {
@@ -23631,6 +23713,16 @@
23631
23713
  "module": "src/components/form-elements/input-base.ts"
23632
23714
  }
23633
23715
  },
23716
+ {
23717
+ "kind": "field",
23718
+ "name": "units",
23719
+ "type": {
23720
+ "text": "string | undefined"
23721
+ },
23722
+ "description": "Sets the units type",
23723
+ "attribute": "units",
23724
+ "reflects": true
23725
+ },
23634
23726
  {
23635
23727
  "kind": "field",
23636
23728
  "name": "hasNoStepper",
@@ -24020,6 +24112,14 @@
24020
24112
  "module": "src/components/form-elements/input-base.ts"
24021
24113
  }
24022
24114
  },
24115
+ {
24116
+ "name": "units",
24117
+ "type": {
24118
+ "text": "string | undefined"
24119
+ },
24120
+ "description": "Sets the units type",
24121
+ "fieldName": "units"
24122
+ },
24023
24123
  {
24024
24124
  "name": "has-no-stepper",
24025
24125
  "type": {
@@ -29758,6 +29858,387 @@
29758
29858
  }
29759
29859
  ]
29760
29860
  },
29861
+ {
29862
+ "kind": "javascript-module",
29863
+ "path": "src/components/form-elements/toggle-switch.ts",
29864
+ "declarations": [
29865
+ {
29866
+ "kind": "variable",
29867
+ "name": "TOGGLE_SWITCH"
29868
+ },
29869
+ {
29870
+ "kind": "class",
29871
+ "description": "ToggleSwitch component.",
29872
+ "name": "ToggleSwitch",
29873
+ "members": [
29874
+ {
29875
+ "kind": "field",
29876
+ "name": "checked",
29877
+ "type": {
29878
+ "text": "boolean"
29879
+ },
29880
+ "default": "false",
29881
+ "description": "Puts the toggle into checked state",
29882
+ "attribute": "checked",
29883
+ "reflects": true
29884
+ },
29885
+ {
29886
+ "kind": "field",
29887
+ "name": "disabled",
29888
+ "type": {
29889
+ "text": "boolean"
29890
+ },
29891
+ "default": "false",
29892
+ "description": "Disables the input field",
29893
+ "attribute": "disabled",
29894
+ "reflects": true,
29895
+ "inheritedFrom": {
29896
+ "name": "InputBase",
29897
+ "module": "src/components/form-elements/input-base.ts"
29898
+ }
29899
+ },
29900
+ {
29901
+ "kind": "field",
29902
+ "name": "leftLabel",
29903
+ "type": {
29904
+ "text": "boolean"
29905
+ },
29906
+ "default": "false",
29907
+ "description": "Puts the label to the left of the toggle",
29908
+ "attribute": "left-label",
29909
+ "reflects": true
29910
+ },
29911
+ {
29912
+ "kind": "field",
29913
+ "name": "value",
29914
+ "type": {
29915
+ "text": "ValueType | undefined"
29916
+ },
29917
+ "description": "Set the value to be associated with the toggle, if needed. Native\ntoggle input values always default to \"on\".",
29918
+ "attribute": "value",
29919
+ "default": "'on'",
29920
+ "inheritedFrom": {
29921
+ "name": "InputBase",
29922
+ "module": "src/components/form-elements/input-base.ts"
29923
+ }
29924
+ },
29925
+ {
29926
+ "kind": "field",
29927
+ "name": "switchOffLabel",
29928
+ "type": {
29929
+ "text": "string"
29930
+ },
29931
+ "default": "''",
29932
+ "description": "Inner label of the toggle switch when it is off.",
29933
+ "attribute": "switchOffLabel"
29934
+ },
29935
+ {
29936
+ "kind": "field",
29937
+ "name": "switchOnLabel",
29938
+ "type": {
29939
+ "text": "string"
29940
+ },
29941
+ "default": "''",
29942
+ "description": "Inner label of the toggle switch when it is on.",
29943
+ "attribute": "switchOnLabel"
29944
+ },
29945
+ {
29946
+ "kind": "field",
29947
+ "name": "label",
29948
+ "type": {
29949
+ "text": "string"
29950
+ },
29951
+ "default": "''",
29952
+ "description": "Label of the toggle switch.",
29953
+ "attribute": "label",
29954
+ "reflects": true
29955
+ },
29956
+ {
29957
+ "kind": "method",
29958
+ "name": "onInput",
29959
+ "parameters": [
29960
+ {
29961
+ "name": "e",
29962
+ "type": {
29963
+ "text": "{ target: { value: ValueType } }"
29964
+ }
29965
+ }
29966
+ ],
29967
+ "inheritedFrom": {
29968
+ "name": "InputBase",
29969
+ "module": "src/components/form-elements/input-base.ts"
29970
+ }
29971
+ },
29972
+ {
29973
+ "kind": "method",
29974
+ "name": "handleKeyPress",
29975
+ "parameters": [
29976
+ {
29977
+ "name": "e",
29978
+ "type": {
29979
+ "text": "KeyboardEvent"
29980
+ }
29981
+ }
29982
+ ]
29983
+ },
29984
+ {
29985
+ "kind": "field",
29986
+ "name": "required",
29987
+ "type": {
29988
+ "text": "boolean"
29989
+ },
29990
+ "default": "false",
29991
+ "description": "Indicates that the input requires a value",
29992
+ "attribute": "required",
29993
+ "reflects": true,
29994
+ "inheritedFrom": {
29995
+ "name": "InputBase",
29996
+ "module": "src/components/form-elements/input-base.ts"
29997
+ }
29998
+ },
29999
+ {
30000
+ "kind": "field",
30001
+ "name": "invalid",
30002
+ "type": {
30003
+ "text": "boolean"
30004
+ },
30005
+ "default": "false",
30006
+ "description": "Makes the input invalid",
30007
+ "attribute": "invalid",
30008
+ "reflects": true,
30009
+ "inheritedFrom": {
30010
+ "name": "InputBase",
30011
+ "module": "src/components/form-elements/input-base.ts"
30012
+ }
30013
+ },
30014
+ {
30015
+ "kind": "field",
30016
+ "name": "name",
30017
+ "type": {
30018
+ "text": "string"
30019
+ },
30020
+ "default": "''",
30021
+ "description": "Sets the name attribute",
30022
+ "attribute": "name",
30023
+ "inheritedFrom": {
30024
+ "name": "InputBase",
30025
+ "module": "src/components/form-elements/input-base.ts"
30026
+ }
30027
+ },
30028
+ {
30029
+ "kind": "field",
30030
+ "name": "id",
30031
+ "type": {
30032
+ "text": "string"
30033
+ },
30034
+ "default": "'input'",
30035
+ "description": "Sets the id of the input",
30036
+ "attribute": "id",
30037
+ "inheritedFrom": {
30038
+ "name": "InputBase",
30039
+ "module": "src/components/form-elements/input-base.ts"
30040
+ }
30041
+ },
30042
+ {
30043
+ "kind": "method",
30044
+ "name": "dispatchChange",
30045
+ "description": "Dispatches a change event",
30046
+ "inheritedFrom": {
30047
+ "name": "InputBase",
30048
+ "module": "src/components/form-elements/input-base.ts"
30049
+ }
30050
+ },
30051
+ {
30052
+ "kind": "method",
30053
+ "name": "createProxyInput",
30054
+ "description": "Creates a proxy input element, used for easily accessing the field value outside of the shadow dom",
30055
+ "inheritedFrom": {
30056
+ "name": "InputBase",
30057
+ "module": "src/components/form-elements/input-base.ts"
30058
+ }
30059
+ },
30060
+ {
30061
+ "kind": "method",
30062
+ "name": "updateProxyInput",
30063
+ "description": "Updates the proxy input with a new value or name. This should always be called as part of\nthe main render cycle to ensure that it always has the most up to date values.",
30064
+ "inheritedFrom": {
30065
+ "name": "InputBase",
30066
+ "module": "src/components/form-elements/input-base.ts"
30067
+ }
30068
+ }
30069
+ ],
30070
+ "events": [
30071
+ {
30072
+ "name": "brz-input-change",
30073
+ "type": {
30074
+ "text": "InputChangeEvent"
30075
+ },
30076
+ "description": "Fires when the input value has changed, and carries the new value.",
30077
+ "inheritedFrom": {
30078
+ "name": "InputBase",
30079
+ "module": "src/components/form-elements/input-base.ts"
30080
+ }
30081
+ }
30082
+ ],
30083
+ "attributes": [
30084
+ {
30085
+ "name": "checked",
30086
+ "type": {
30087
+ "text": "boolean"
30088
+ },
30089
+ "default": "false",
30090
+ "description": "Puts the toggle into checked state",
30091
+ "fieldName": "checked"
30092
+ },
30093
+ {
30094
+ "name": "disabled",
30095
+ "type": {
30096
+ "text": "boolean"
30097
+ },
30098
+ "default": "false",
30099
+ "description": "Disables the input field",
30100
+ "fieldName": "disabled",
30101
+ "inheritedFrom": {
30102
+ "name": "InputBase",
30103
+ "module": "src/components/form-elements/input-base.ts"
30104
+ }
30105
+ },
30106
+ {
30107
+ "name": "left-label",
30108
+ "type": {
30109
+ "text": "boolean"
30110
+ },
30111
+ "default": "false",
30112
+ "description": "Puts the label to the left of the toggle",
30113
+ "fieldName": "leftLabel"
30114
+ },
30115
+ {
30116
+ "name": "value",
30117
+ "type": {
30118
+ "text": "ValueType | undefined"
30119
+ },
30120
+ "description": "Set the value to be associated with the toggle, if needed. Native\ntoggle input values always default to \"on\".",
30121
+ "fieldName": "value",
30122
+ "default": "'on'",
30123
+ "inheritedFrom": {
30124
+ "name": "InputBase",
30125
+ "module": "src/components/form-elements/input-base.ts"
30126
+ }
30127
+ },
30128
+ {
30129
+ "name": "switchOffLabel",
30130
+ "type": {
30131
+ "text": "string"
30132
+ },
30133
+ "default": "''",
30134
+ "description": "Inner label of the toggle switch when it is off.",
30135
+ "fieldName": "switchOffLabel"
30136
+ },
30137
+ {
30138
+ "name": "switchOnLabel",
30139
+ "type": {
30140
+ "text": "string"
30141
+ },
30142
+ "default": "''",
30143
+ "description": "Inner label of the toggle switch when it is on.",
30144
+ "fieldName": "switchOnLabel"
30145
+ },
30146
+ {
30147
+ "name": "label",
30148
+ "type": {
30149
+ "text": "string"
30150
+ },
30151
+ "default": "''",
30152
+ "description": "Label of the toggle switch.",
30153
+ "fieldName": "label"
30154
+ },
30155
+ {
30156
+ "name": "required",
30157
+ "type": {
30158
+ "text": "boolean"
30159
+ },
30160
+ "default": "false",
30161
+ "description": "Indicates that the input requires a value",
30162
+ "fieldName": "required",
30163
+ "inheritedFrom": {
30164
+ "name": "InputBase",
30165
+ "module": "src/components/form-elements/input-base.ts"
30166
+ }
30167
+ },
30168
+ {
30169
+ "name": "invalid",
30170
+ "type": {
30171
+ "text": "boolean"
30172
+ },
30173
+ "default": "false",
30174
+ "description": "Makes the input invalid",
30175
+ "fieldName": "invalid",
30176
+ "inheritedFrom": {
30177
+ "name": "InputBase",
30178
+ "module": "src/components/form-elements/input-base.ts"
30179
+ }
30180
+ },
30181
+ {
30182
+ "name": "name",
30183
+ "type": {
30184
+ "text": "string"
30185
+ },
30186
+ "default": "''",
30187
+ "description": "Sets the name attribute",
30188
+ "fieldName": "name",
30189
+ "inheritedFrom": {
30190
+ "name": "InputBase",
30191
+ "module": "src/components/form-elements/input-base.ts"
30192
+ }
30193
+ },
30194
+ {
30195
+ "name": "id",
30196
+ "type": {
30197
+ "text": "string"
30198
+ },
30199
+ "default": "'input'",
30200
+ "description": "Sets the id of the input",
30201
+ "fieldName": "id",
30202
+ "inheritedFrom": {
30203
+ "name": "InputBase",
30204
+ "module": "src/components/form-elements/input-base.ts"
30205
+ }
30206
+ }
30207
+ ],
30208
+ "superclass": {
30209
+ "name": "InputBase",
30210
+ "module": "/src/components/form-elements/input-base"
30211
+ },
30212
+ "tagName": "brz-toggle-switch",
30213
+ "customElement": true
30214
+ }
30215
+ ],
30216
+ "exports": [
30217
+ {
30218
+ "kind": "js",
30219
+ "name": "TOGGLE_SWITCH",
30220
+ "declaration": {
30221
+ "name": "TOGGLE_SWITCH",
30222
+ "module": "src/components/form-elements/toggle-switch.ts"
30223
+ }
30224
+ },
30225
+ {
30226
+ "kind": "js",
30227
+ "name": "ToggleSwitch",
30228
+ "declaration": {
30229
+ "name": "ToggleSwitch",
30230
+ "module": "src/components/form-elements/toggle-switch.ts"
30231
+ }
30232
+ },
30233
+ {
30234
+ "kind": "custom-element-definition",
30235
+ "declaration": {
30236
+ "name": "ToggleSwitch",
30237
+ "module": "src/components/form-elements/toggle-switch.ts"
30238
+ }
30239
+ }
30240
+ ]
30241
+ },
29761
30242
  {
29762
30243
  "kind": "javascript-module",
29763
30244
  "path": "src/components/icon/icon.ts",