Skip to content

Commit

Permalink
chore: biome really does not want the default values to be in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz committed Oct 3, 2023
1 parent 3825625 commit 4cebdfc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
26 changes: 13 additions & 13 deletions packages/paste-core/components/chat-log/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"ChatBubble": {
"element": {
"type": "string",
"defaultValue": "'CHAT_BUBBLE'",
"defaultValue": "CHAT_BUBBLE",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -17,7 +17,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHAT_MESSAGE'",
"defaultValue": "CHAT_MESSAGE",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -32,7 +32,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHAT_MESSAGE_META'",
"defaultValue": "CHAT_MESSAGE_META",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -41,7 +41,7 @@
"ChatMessageMetaItem": {
"element": {
"type": "string",
"defaultValue": "'CHAT_MESSAGE_META_ITEM'",
"defaultValue": "CHAT_MESSAGE_META_ITEM",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -50,7 +50,7 @@
"ChatLog": {
"element": {
"type": "string",
"defaultValue": "'CHAT_LOG'",
"defaultValue": "CHAT_LOG",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -59,14 +59,14 @@
"ComposerAttachmentCard": {
"element": {
"type": "string",
"defaultValue": "'COMPOSER_ATTACHMENT_CARD'",
"defaultValue": "COMPOSER_ATTACHMENT_CARD",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
},
"i18nDismissLabel": {
"type": "string",
"defaultValue": "'Remove attachment'",
"defaultValue": "Remove attachment",
"required": false,
"externalProp": false,
"description": "Accessible label for the dismiss button if dismissable"
Expand All @@ -89,7 +89,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHAT_ATTACHMENT'",
"defaultValue": "CHAT_ATTACHMENT",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -537,7 +537,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHAT_ATTACHMENT_LINK'",
"defaultValue": "CHAT_ATTACHMENT_LINK",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -1928,7 +1928,7 @@
"ChatAttachmentDescription": {
"element": {
"type": "string",
"defaultValue": "'CHAT_ATTACHMENT_DESCRIPTION'",
"defaultValue": "CHAT_ATTACHMENT_DESCRIPTION",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -1937,7 +1937,7 @@
"ChatBookend": {
"element": {
"type": "string",
"defaultValue": "'CHAT_BOOKEND'",
"defaultValue": "CHAT_BOOKEND",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -1946,7 +1946,7 @@
"ChatBookendItem": {
"element": {
"type": "string",
"defaultValue": "'CHAT_BOOKEND_ITEM'",
"defaultValue": "CHAT_BOOKEND_ITEM",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand All @@ -1955,7 +1955,7 @@
"ChatEvent": {
"element": {
"type": "string",
"defaultValue": "'CHAT_EVENT'",
"defaultValue": "CHAT_EVENT",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down
10 changes: 5 additions & 5 deletions packages/paste-core/components/checkbox/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHECKBOX'",
"defaultValue": "CHECKBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -2241,7 +2241,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHECKBOX_GROUP'",
"defaultValue": "CHECKBOX_GROUP",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -2278,7 +2278,7 @@
},
"i18nRequiredLabel": {
"type": "string",
"defaultValue": "'(required)'",
"defaultValue": "(required)",
"required": false,
"externalProp": false,
"description": "Accessible label for the required dot"
Expand Down Expand Up @@ -2473,7 +2473,7 @@
},
"onChange": {
"type": "(checked: boolean) => void",
"defaultValue": "'null'",
"defaultValue": "null",
"required": false,
"externalProp": false
},
Expand Down Expand Up @@ -3923,7 +3923,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CHECKBOX_DISCLAIMER'",
"defaultValue": "CHECKBOX_DISCLAIMER",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down
16 changes: 8 additions & 8 deletions packages/paste-core/components/code-block/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK'",
"defaultValue": "CODE_BLOCK",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -1936,7 +1936,7 @@
},
"variant": {
"type": "CodeBlockVariants",
"defaultValue": "'multi-line'",
"defaultValue": "multi-line",
"required": false,
"externalProp": false,
"description": "Variant of code block to render"
Expand Down Expand Up @@ -2243,7 +2243,7 @@
},
"as": {
"type": "AsTags",
"defaultValue": "'h3'",
"defaultValue": "h3",
"required": false,
"externalProp": false,
"description": "Heading level to render"
Expand Down Expand Up @@ -2505,7 +2505,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK_HEADER'",
"defaultValue": "CODE_BLOCK_HEADER",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -4270,7 +4270,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK_TAB'",
"defaultValue": "CODE_BLOCK_TAB",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -5451,7 +5451,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK_TAB_LIST'",
"defaultValue": "CODE_BLOCK_TAB_LIST",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -6013,7 +6013,7 @@
},
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK_TAB_PANEL'",
"defaultValue": "CODE_BLOCK_TAB_PANEL",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -7358,7 +7358,7 @@
"CodeBlockWrapper": {
"element": {
"type": "string",
"defaultValue": "'CODE_BLOCK_WRAPPER'",
"defaultValue": "CODE_BLOCK_WRAPPER",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down
20 changes: 10 additions & 10 deletions packages/paste-core/components/combobox/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
},
"element": {
"type": "string",
"defaultValue": "'COMBOBOX_LISTBOX'",
"defaultValue": "COMBOBOX_LISTBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -1585,7 +1585,7 @@
"ComboboxListboxOption": {
"variant": {
"type": "\"default\" | \"groupOption\"",
"defaultValue": "'default'",
"defaultValue": "default",
"required": true,
"externalProp": false
},
Expand Down Expand Up @@ -2011,7 +2011,7 @@
},
"element": {
"type": "string",
"defaultValue": "'COMBOBOX'",
"defaultValue": "COMBOBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -3618,7 +3618,7 @@
},
"element": {
"type": "string",
"defaultValue": "'COMBOBOX'",
"defaultValue": "COMBOBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -5290,7 +5290,7 @@
},
"element": {
"type": "string",
"defaultValue": "'MULTISELECT_COMBOBOX'",
"defaultValue": "MULTISELECT_COMBOBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -5385,7 +5385,7 @@
},
"i18nKeyboardControls": {
"type": "string",
"defaultValue": "'Press Delete or Backspace to remove. Press Enter to toggle selection.'",
"defaultValue": "Press Delete or Backspace to remove. Press Enter to toggle selection.",
"required": false,
"externalProp": false,
"description": "Visually hidden string that has instructions for how to remove and select pills with a keyboard"
Expand Down Expand Up @@ -5518,7 +5518,7 @@
},
"maxHeight": {
"type": "| string\n | number\n | (string & {})\n | (MaxHeightOptions | null)[]\n | { [x: string]: MaxHeightOptions; [x: number]: MaxHeightOptions }",
"defaultValue": "'100%'",
"defaultValue": "100%",
"required": false,
"externalProp": false,
"description": "The maximum height of the Combobox listbox"
Expand Down Expand Up @@ -6732,7 +6732,7 @@
},
"variant": {
"type": "InputVariants",
"defaultValue": "'default'",
"defaultValue": "default",
"required": false,
"externalProp": false
},
Expand Down Expand Up @@ -7241,7 +7241,7 @@
},
"element": {
"type": "string",
"defaultValue": "'COMBOBOX'",
"defaultValue": "COMBOBOX",
"required": false,
"externalProp": false,
"description": "Overrides the default element name to apply unique styles with the Customization Provider"
Expand Down Expand Up @@ -8697,7 +8697,7 @@
},
"variant": {
"type": "InputVariants",
"defaultValue": "'default'",
"defaultValue": "default",
"required": false,
"externalProp": false
},
Expand Down

0 comments on commit 4cebdfc

Please sign in to comment.