<commit_before>module FulmaExtensions.Checkradio

open Fable.Core
open Fable.Import
open Fable.Helpers.React
open Fable.Helpers.React.Props
open Fulma
open Fulma.Extensions.Wikiki
open Fable.FontAwesome

let inlineBlockInteractive () =
    Columns.columns [ ]
        [ Column.column [ ]
            [ div [ ClassName "block" ]
                  [ // Block sample
                    b [ ] [str "Block"]
                    Checkradio.checkbox [ Checkradio.Id "checkradio-1" ]
                        [ str "One" ]
                    Checkradio.checkbox [ Checkradio.Id "checkradio-2" ]
                        [ str "Two" ]
                    // Inline sample
                    b [ ] [str "Inline"]
                    Field.div [ ]
                        [ Checkradio.checkboxInline [ Checkradio.Id "checkradio-3" ]
                            [ str "One " ]
                          Checkradio.checkboxInline [ Checkradio.Id "checkradio-4" ]
                            [ str "Two " ] ] ] ]
          // Second column
          Column.column [ ]
            [ div [ ClassName "block" ]
                  [ // Block sample
                    b [ ] [str "Block"]
                    Checkradio.radio [ Checkradio.Name "block"
                                       Checkradio.Id "checkradio-5" ]
                        [ str "One" ]
                    Checkradio.radio [ Checkradio.Name "block"
                                       Checkradio.Id "checkradio-6" ]
                        [ str "Two" ]
                    // Inline sample
                    b [ ] [ str "Inline"]
                    Field.div [ ]
                        [ Checkradio.radioInline [ Checkradio.Name "inline"
                                                   Checkradio.Id "checkradio-7" ]
                            [ str "One" ]
                          Checkradio.radioInline [ Checkradio.Name "inline"
                                                   Checkradio.Id "checkradio-8" ]
                            [ str "Two " ] ] ] ] ]

let rtl () =
    Columns.columns [ ]
        [ Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.IsRtl
                                    Checkradio.Id "checkradio-9" ]
                [ str "Label is on the left" ] ]
          Column.column [ ]
            [ Checkradio.radio [ Checkradio.IsRtl
                                 Checkradio.Id "checkradio-10" ]
                [ str "Label is on the left" ] ] ]

let colorInteractive () =
    Columns.columns [ ]
        [ // Column n°1
          Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-11" ]
                [ str "Checkbox" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-12"
                                    Checkradio.Color IsInfo ]
                [ str "Info" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-13"
                                    Checkradio.Color IsDark ]
                [ str "Dark" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-14"
                                    Checkradio.Color IsBlack ]
                [ str "Black" ] ]
          // Column n°2
          Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-15"
                                    Checkradio.Color IsPrimary ]
                [ str "Primary" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-16"
                                    Checkradio.Color IsSuccess ]
                [ str "Success" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-17"
                                    Checkradio.Color IsWarning ]
                [ str "Warning" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-18"
                                    Checkradio.Color IsDanger ]
                [ str "Danger" ] ]
          // Column n°3
          Column.column [ ]
            [ Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-19"
                                 Checkradio.Name "rad" ]
                [ str "Checkbox" ]
              Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-20"
                                 Checkradio.Color IsInfo
                                 Checkradio.Name "rad1" ]
                [ str "Info" ]
              Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-21"
                                 Checkradio.Color IsDark
                                 Checkradio.Name "rad" ]
                [ str "Dark" ]
              Checkradio.radio [ Checkradio.Checked true<commit_msg>rename with id  checkradio-20 from rad1 to rad<commit_after>module FulmaExtensions.Checkradio

open Fable.Core
open Fable.Import
open Fable.Helpers.React
open Fable.Helpers.React.Props
open Fulma
open Fulma.Extensions.Wikiki
open Fable.FontAwesome

let inlineBlockInteractive () =
    Columns.columns [ ]
        [ Column.column [ ]
            [ div [ ClassName "block" ]
                  [ // Block sample
                    b [ ] [str "Block"]
                    Checkradio.checkbox [ Checkradio.Id "checkradio-1" ]
                        [ str "One" ]
                    Checkradio.checkbox [ Checkradio.Id "checkradio-2" ]
                        [ str "Two" ]
                    // Inline sample
                    b [ ] [str "Inline"]
                    Field.div [ ]
                        [ Checkradio.checkboxInline [ Checkradio.Id "checkradio-3" ]
                            [ str "One " ]
                          Checkradio.checkboxInline [ Checkradio.Id "checkradio-4" ]
                            [ str "Two " ] ] ] ]
          // Second column
          Column.column [ ]
            [ div [ ClassName "block" ]
                  [ // Block sample
                    b [ ] [str "Block"]
                    Checkradio.radio [ Checkradio.Name "block"
                                       Checkradio.Id "checkradio-5" ]
                        [ str "One" ]
                    Checkradio.radio [ Checkradio.Name "block"
                                       Checkradio.Id "checkradio-6" ]
                        [ str "Two" ]
                    // Inline sample
                    b [ ] [ str "Inline"]
                    Field.div [ ]
                        [ Checkradio.radioInline [ Checkradio.Name "inline"
                                                   Checkradio.Id "checkradio-7" ]
                            [ str "One" ]
                          Checkradio.radioInline [ Checkradio.Name "inline"
                                                   Checkradio.Id "checkradio-8" ]
                            [ str "Two " ] ] ] ] ]

let rtl () =
    Columns.columns [ ]
        [ Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.IsRtl
                                    Checkradio.Id "checkradio-9" ]
                [ str "Label is on the left" ] ]
          Column.column [ ]
            [ Checkradio.radio [ Checkradio.IsRtl
                                 Checkradio.Id "checkradio-10" ]
                [ str "Label is on the left" ] ] ]

let colorInteractive () =
    Columns.columns [ ]
        [ // Column n°1
          Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-11" ]
                [ str "Checkbox" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-12"
                                    Checkradio.Color IsInfo ]
                [ str "Info" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-13"
                                    Checkradio.Color IsDark ]
                [ str "Dark" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-14"
                                    Checkradio.Color IsBlack ]
                [ str "Black" ] ]
          // Column n°2
          Column.column [ ]
            [ Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-15"
                                    Checkradio.Color IsPrimary ]
                [ str "Primary" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-16"
                                    Checkradio.Color IsSuccess ]
                [ str "Success" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-17"
                                    Checkradio.Color IsWarning ]
                [ str "Warning" ]
              Checkradio.checkbox [ Checkradio.Checked true
                                    Checkradio.Id "checkradio-18"
                                    Checkradio.Color IsDanger ]
                [ str "Danger" ] ]
          // Column n°3
          Column.column [ ]
            [ Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-19"
                                 Checkradio.Name "rad" ]
                [ str "Checkbox" ]
              Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-20"
                                 Checkradio.Color IsInfo
                                 Checkradio.Name "rad" ]
                [ str "Info" ]
              Checkradio.radio [ Checkradio.Checked true
                                 Checkradio.Id "checkradio-21"
                                 Checkradio.Color IsDark
                                 Checkradio.Name "rad" ]
                [ str "Dark" ]
              Checkradio.radio [ Checkradio.Checked true
{'fraction_non_alphanumeric': 0.07918422060513214, 'fraction_numerical': 0.007276905400229797, 'mean_word_length': 0.9221567905778432, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 70, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4213572', 'n_tokens_mistral': 2441, 'n_tokens_neox': 2320, 'n_words': 486}