Something
10 |Something
17 |Test
Something
", 66 | "69 | Spicy jalapeno bacon ipsum dolor amet bresaola kielbasa doner ham hock biltong, swine shoulder leberkas cupim. Sausage capicola buffalo, tongue jerky frankfurter biltong pork swine landjaeger. Porchetta alcatra burgdoggen beef ribs short ribs corned beef, biltong flank bresaola kielbasa. Ham hock beef kielbasa, cupim cow beef ribs doner. T-bone cow shoulder chuck pastrami. Alcatra pig filet mignon shank. Pancetta shankle meatloaf sausage meatball cupim. 70 |
71 |24 | Spicy jalapeno bacon ipsum dolor amet bresaola kielbasa doner ham hock biltong, swine shoulder leberkas cupim. Sausage capicola buffalo, tongue jerky frankfurter biltong pork swine landjaeger. Porchetta alcatra burgdoggen beef ribs short ribs corned beef, biltong flank bresaola kielbasa. Ham hock beef kielbasa, cupim cow beef ribs doner. T-bone cow shoulder chuck pastrami. Alcatra pig filet mignon shank. Pancetta shankle meatloaf sausage meatball cupim. 25 |
26 |24 | Spicy jalapeno bacon ipsum dolor amet bresaola kielbasa doner ham hock biltong, swine shoulder leberkas cupim. Sausage capicola buffalo, tongue jerky frankfurter biltong pork swine landjaeger. Porchetta alcatra burgdoggen beef ribs short ribs corned beef, biltong flank bresaola kielbasa. Ham hock beef kielbasa, cupim cow beef ribs doner. T-bone cow shoulder chuck pastrami. Alcatra pig filet mignon shank. Pancetta shankle meatloaf sausage meatball cupim. 25 |
26 |This is a modal component that can be used to display content to the user.
` 60 | }; -------------------------------------------------------------------------------- /packages/stencil-library/src/components/dnn-monaco-editor/dnn-monaco-editor.scss: -------------------------------------------------------------------------------- 1 | :host { 2 | /** 3 | * @prop --monaco-editor-width: width of the editor, default is 100% 4 | * @prop --monaco-editor-height: height of the editor, default is 50vh 5 | */ 6 | --monaco-editor-width: 100%; 7 | --monaco-editor-height: 50vh; 8 | } 9 | 10 | .editor-container { 11 | width: var(--monaco-editor-width); 12 | height: var(--monaco-editor-height); 13 | } -------------------------------------------------------------------------------- /packages/stencil-library/src/components/dnn-monaco-editor/dnn-monaco-editor.stories.ts: -------------------------------------------------------------------------------- 1 | import { html } from "lit"; 2 | import { actions } from '@storybook/addon-actions'; 3 | //import { ifDefined } from 'lit-html/directives/if-defined'; 4 | //import { unsafeHTML } from 'lit-html/directives/unsafe-html.js'; 5 | import type { Meta, StoryObj } from '@storybook/web-components'; 6 | import readme from './readme.md'; 7 | 8 | const meta: Meta = { 9 | title: 'Elements/Monaco Editor', 10 | component: 'dnn-monaco-editor', 11 | tags: ['autodocs'], 12 | parameters: { 13 | docs: { 14 | description: { 15 | component: readme, 16 | } 17 | } 18 | }, 19 | argTypes: { 20 | language: { 21 | options: [ 22 | "bat", 23 | "c", 24 | "coffeescript", 25 | "cpp", 26 | "csharp", 27 | "css", 28 | "dockerfile", 29 | "fsharp", 30 | "go", 31 | "handlebars", 32 | "html", 33 | "ini", 34 | "java", 35 | "javascript", 36 | "json", 37 | "less", 38 | "lua", 39 | "markdown", 40 | "msdax", 41 | "objective-c", 42 | "php", 43 | "plaintext", 44 | "postiats", 45 | "powershell", 46 | "pug", 47 | "python", 48 | "r", 49 | "razor", 50 | "ruby", 51 | "sb", 52 | "scss", 53 | "sol", 54 | "sql", 55 | "swift", 56 | "typescript", 57 | "vb", 58 | "xml", 59 | "yaml", 60 | ], 61 | control: { 62 | type: "select", 63 | }, 64 | }, 65 | value: { 66 | control: "text", 67 | }, 68 | }, 69 | }; 70 | 71 | export default meta; 72 | 73 | const eventsFromNames = actions("onContentChanged"); 74 | 75 | const Template = (args) => 76 | html` 77 |Some text
\nSome text
\nContent of the first tab.
20 |This is the second tab
23 |Content of the first tab.
34 |This is the second tab
37 |Content of the first tab.
5 |This is the second tab
8 |Content of the first tab.
5 |This is the second tab
8 |Content of the first tab.
16 |This is the second tab
19 |Content of the first tab.
30 |This is the second tab
33 |Content of the first tab.
5 |This is the second tab
8 |Content of the first tab.
5 |This is the second tab
8 |