Skip to content

Commit cd00866

Browse files
authored
Merge pull request #1250 from DNNCommunity/release/0.25.1
Released v0.25.1
2 parents 848f6fa + 6ad4cc7 commit cd00866

File tree

6 files changed

+242
-105
lines changed

6 files changed

+242
-105
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stencil-library/custom-elements.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": {
1717
"text": "string"
1818
},
19-
"description": "Defines the type of automatic completion the browser could use.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete",
19+
"description": "Defines the type of automatic completion the browser could use.\r\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete",
2020
"default": "\"off\"",
2121
"required": false
2222
},
@@ -57,7 +57,7 @@
5757
"type": {
5858
"text": "number"
5959
},
60-
"description": "How many suggestions to preload in pixels of their height.\nThis is used to calculate the virtual scroll height and request\nmore items before they get into view.",
60+
"description": "How many suggestions to preload in pixels of their height.\r\nThis is used to calculate the virtual scroll height and request\r\nmore items before they get into view.",
6161
"default": "1000",
6262
"required": false
6363
},
@@ -74,7 +74,7 @@
7474
"type": {
7575
"text": "number"
7676
},
77-
"description": "The total amount of suggestions for the given search query.\nThis can be used to show virtual scroll and pagination progressive feeding.\nThe needMoreItems event should be used to request more items.",
77+
"description": "The total amount of suggestions for the given search query.\r\nThis can be used to show virtual scroll and pagination progressive feeding.\r\nThe needMoreItems event should be used to request more items.",
7878
"required": false
7979
},
8080
{
@@ -139,7 +139,7 @@
139139
"type": {
140140
"text": "string"
141141
},
142-
"description": "Fires when the search query has changed.\nThis is almost like valueInput, but it is debounced\nand can be used to trigger a search query without overloading\nAPI endpoints while typing."
142+
"description": "Fires when the search query has changed.\r\nThis is almost like valueInput, but it is debounced\r\nand can be used to trigger a search query without overloading\r\nAPI endpoints while typing."
143143
},
144144
{
145145
"name": "valueChange",
@@ -252,7 +252,7 @@
252252
"type": {
253253
"text": "\"button\" | \"reset\" | \"submit\""
254254
},
255-
"description": "Optional button type,\ncan be either submit, reset or button and defaults to button if not specified.\nWarning: DNN wraps the whole page in a form, only use this if you are handling\nform submission manually.\nWarning: This will be deprecated in the next version and replaced with a new 'type' property.",
255+
"description": "Optional button type,\r\ncan be either submit, reset or button and defaults to button if not specified.\r\nWarning: DNN wraps the whole page in a form, only use this if you are handling\r\nform submission manually.\r\nWarning: This will be deprecated in the next version and replaced with a new 'type' property.",
256256
"default": "'button'",
257257
"required": false
258258
},
@@ -390,7 +390,7 @@
390390
"type": {
391391
"text": "(currentState: CheckedState) => CheckedState"
392392
},
393-
"description": "A function that will be called when the checkbox needs to change state and returns the next state.\nCan be used to customize the order of the states when the component is clicked.\nOnly called if you also use the tri-state feature (useIntermediate).",
393+
"description": "A function that will be called when the checkbox needs to change state and returns the next state.\r\nCan be used to customize the order of the states when the component is clicked.\r\nOnly called if you also use the tri-state feature (useIntermediate).",
394394
"default": "this.defaultNextStateHandler",
395395
"required": false
396396
}
@@ -645,7 +645,7 @@
645645
"text": "{ contrast: string; preview: string; cancel: string; confirm: string; normal: string; light: string; dark: string; }"
646646
},
647647
"description": "Can be used to customize the text language.",
648-
"default": "{\n contrast: \"Contrast\",\n preview: \"Preview\",\n cancel: \"Cancel\",\n confirm: \"Confirm\",\n normal: \"Normal\",\n light: \"Light\",\n dark: \"Dark\",\n }",
648+
"default": "{\r\n contrast: \"Contrast\",\r\n preview: \"Preview\",\r\n cancel: \"Cancel\",\r\n confirm: \"Confirm\",\r\n normal: \"Normal\",\r\n light: \"Light\",\r\n dark: \"Dark\",\r\n }",
649649
"required": false
650650
}
651651
],
@@ -761,7 +761,7 @@
761761
"type": {
762762
"text": "boolean"
763763
},
764-
"description": "If true, will allow the user to take a snapshot\nusing the device camera. (only works over https).",
764+
"description": "If true, will allow the user to take a snapshot\r\nusing the device camera. (only works over https).",
765765
"default": "false",
766766
"required": false
767767
},
@@ -770,7 +770,7 @@
770770
"type": {
771771
"text": "number"
772772
},
773-
"description": "Specifies the jpeg quality for when the device\ncamera is used to generate a picture.\nNeeds to be a number between 0 and 1 and defaults to 0.8",
773+
"description": "Specifies the jpeg quality for when the device\r\ncamera is used to generate a picture.\r\nNeeds to be a number between 0 and 1 and defaults to 0.8",
774774
"default": "0.8",
775775
"required": false
776776
},
@@ -798,7 +798,7 @@
798798
"type": {
799799
"text": "string[]"
800800
},
801-
"description": "A list of allowed file extensions.\nIf not specified, any file is allowed.\nEx: [\"jpg\", \"jpeg\", \"gif\", \"png\"]",
801+
"description": "A list of allowed file extensions.\r\nIf not specified, any file is allowed.\r\nEx: [\"jpg\", \"jpeg\", \"gif\", \"png\"]",
802802
"required": false
803803
},
804804
{
@@ -1014,7 +1014,7 @@
10141014
"kind": "class",
10151015
"name": "dnn-image-cropper.tsx",
10161016
"tagName": "dnn-image-cropper",
1017-
"description": "Allows cropping an image in-browser with the option to enforce a specific final size.\nAll computation happens in the browser and the final image is emmited\nin an event that has a data-url of the image.",
1017+
"description": "Allows cropping an image in-browser with the option to enforce a specific final size.\r\nAll computation happens in the browser and the final image is emmited\r\nin an event that has a data-url of the image.",
10181018
"attributes": [
10191019
{
10201020
"name": "height",
@@ -1066,7 +1066,7 @@
10661066
"type": {
10671067
"text": "ImageCropperResx"
10681068
},
1069-
"description": "Can be used to customize controls text.\nSome values support tokens, see default values for examples.",
1069+
"description": "Can be used to customize controls text.\r\nSome values support tokens, see default values for examples.",
10701070
"required": false
10711071
},
10721072
{
@@ -1089,7 +1089,7 @@
10891089
"type": {
10901090
"text": "File"
10911091
},
1092-
"description": "Emits both when a file is initially select and when the crop has changed.\nCompared to imageCropChanged, this event emits the file itself, which can be useful for uploading the file to a server including its name."
1092+
"description": "Emits both when a file is initially select and when the crop has changed.\r\nCompared to imageCropChanged, this event emits the file itself, which can be useful for uploading the file to a server including its name."
10931093
}
10941094
],
10951095
"slots": [],
@@ -1154,7 +1154,7 @@
11541154
"type": {
11551155
"text": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\""
11561156
},
1157-
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\nThis allows a browser to display an appropriate virtual keyboard.",
1157+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\r\nThis allows a browser to display an appropriate virtual keyboard.",
11581158
"required": false
11591159
},
11601160
{
@@ -1357,7 +1357,7 @@
13571357
"type": {
13581358
"text": "string"
13591359
},
1360-
"description": "Optionally pass the aria-label text for the close button.\nDefaults to \"Close modal\" if not provided.",
1360+
"description": "Optionally pass the aria-label text for the close button.\r\nDefaults to \"Close modal\" if not provided.",
13611361
"default": "\"Close modal\"",
13621362
"required": false
13631363
},
@@ -1375,7 +1375,7 @@
13751375
"type": {
13761376
"text": "boolean"
13771377
},
1378-
"description": "Optionally you can pass false to not show the close button.\nIf you decide to do so, you should either not also prevent dismissal by clicking the backdrop\nor provide your own dismissal logic in the modal content.",
1378+
"description": "Optionally you can pass false to not show the close button.\r\nIf you decide to do so, you should either not also prevent dismissal by clicking the backdrop\r\nor provide your own dismissal logic in the modal content.",
13791379
"default": "true",
13801380
"required": false
13811381
},
@@ -1677,7 +1677,7 @@
16771677
"type": {
16781678
"text": "(options: Config) => Config"
16791679
},
1680-
"description": "Customize the options before initializing the editor, will have all the default options merged with 'options' if passed.\nThis is called last after merging default options with your custom 'options' and just before initializing the editor.",
1680+
"description": "Customize the options before initializing the editor, will have all the default options merged with 'options' if passed.\r\nThis is called last after merging default options with your custom 'options' and just before initializing the editor.",
16811681
"required": false
16821682
},
16831683
{
@@ -1686,7 +1686,7 @@
16861686
"type": {
16871687
"text": "Config"
16881688
},
1689-
"description": "Optional configuration for Jodit, see https://xdsoft.net/jodit/docs/classes/config.Config.html\nThis will be merged with the default options and passed to the editor.\nIf you prefer to not have to pass a full config object,\nyou can use 'customizeOptions' to modify the options before initializing the editor\ninstead of providing all options here.",
1689+
"description": "Optional configuration for Jodit, see https://xdsoft.net/jodit/docs/classes/config.Config.html\r\nThis will be merged with the default options and passed to the editor.\r\nIf you prefer to not have to pass a full config object,\r\nyou can use 'customizeOptions' to modify the options before initializing the editor\r\ninstead of providing all options here.",
16901690
"required": false
16911691
},
16921692
{
@@ -1695,7 +1695,7 @@
16951695
"type": {
16961696
"text": "{ name: string; callback: (editor: Jodit) => void; }[]"
16971697
},
1698-
"description": "Allows registering your own plugins.\nThe callback will be called with the editor instance as the only argument durig initialization.\nAll other behavior needs to be implemented in the plugin itself using editor.on(\"eventname\").\nSee https://xdsoft.net/jodit/examples/plugin/custom_plugin.html for an example.\nCreating a plugin does NOT automatically add it to the toolbar, you need to do that yourself in 'options' or 'customizeOptions',\nSee https://xdsoft.net/jodit/examples/toolbar/custom_button.html for an example.",
1698+
"description": "Allows registering your own plugins.\r\nThe callback will be called with the editor instance as the only argument durig initialization.\r\nAll other behavior needs to be implemented in the plugin itself using editor.on(\"eventname\").\r\nSee https://xdsoft.net/jodit/examples/plugin/custom_plugin.html for an example.\r\nCreating a plugin does NOT automatically add it to the toolbar, you need to do that yourself in 'options' or 'customizeOptions',\r\nSee https://xdsoft.net/jodit/examples/toolbar/custom_button.html for an example.",
16991699
"default": "[]",
17001700
"required": false
17011701
}
@@ -1776,7 +1776,7 @@
17761776
"type": {
17771777
"text": "string"
17781778
},
1779-
"description": "Fires up each time the search query changes.\nThe data passed is the new query."
1779+
"description": "Fires up each time the search query changes.\r\nThe data passed is the new query."
17801780
}
17811781
],
17821782
"slots": [],
@@ -1800,7 +1800,7 @@
18001800
"type": {
18011801
"text": "string"
18021802
},
1803-
"description": "Defines the type of automatic completion the browser can use.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete",
1803+
"description": "Defines the type of automatic completion the browser can use.\r\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete",
18041804
"default": "\"off\"",
18051805
"required": false
18061806
},
@@ -2383,7 +2383,7 @@
23832383
"kind": "class",
23842384
"name": "dnn-vertical-splitview.tsx",
23852385
"tagName": "dnn-vertical-splitview",
2386-
"description": "This allows splitting a UI into vertical adjustable panels, the splitter itself is not part of this component.\n- The content for the left part should be injected in the `left` slot.\n- The content for the right part should be injected in the `right` slot.\n- The content for the actual splitter should go in the default slot and other UI elements can be injected as long as you handle their behaviour, by default only the drag behavior is implemented in the component.",
2386+
"description": "This allows splitting a UI into vertical adjustable panels, the splitter itself is not part of this component.\r\n- The content for the left part should be injected in the `left` slot.\r\n- The content for the right part should be injected in the `right` slot.\r\n- The content for the actual splitter should go in the default slot and other UI elements can be injected as long as you handle their behaviour, by default only the drag behavior is implemented in the component.",
23872387
"attributes": [
23882388
{
23892389
"name": "split-width-percentage",

packages/stencil-library/licenses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"licenses": "MIT",
44
"repository": "https://github.com/dnncommunity/dnn-elements",
55
"path": "",
6-
"licenseFile": "D:\\dnn-elements\\dnn-elements\\packages\\stencil-library\\README.md"
6+
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\README.md"
77
},
88
"@storybook/theming@8.3.2": {
99
"licenses": "MIT",

packages/stencil-library/src/components/dnn-dropzone/dnn-dropzone.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* @prop --border-radius: The radius of the controls borders.
66
* @prop --drop-background-color: The color of the background when a file is dropping.
77
*/
8-
--border-color: var(--dnn-color-tertiary-contrast, lightgray);
8+
--border-color: var(--dnn-color-foreground-light, lightgray);
99
--border-radius: var(--dnn-controls-radius, 5px);
10-
--drop-background-color: var(--dnn-color-tertiary, lightblue);
10+
--drop-background-color: var(--dnn-color-neutral, #b2b2b2);
1111

1212
display: flex;
1313
flex-direction: column;

0 commit comments

Comments
 (0)